Questions tagged [go-ethereum]

Go Ethereum (short: Geth) is a Golang implementation of the Ethereum protocol.

Filter by
Sorted by
Tagged with
1
vote
1answer
64 views

How the hashing of the block data ensures the data integrity?

In ethereum, as a node controller I can able to access the leveldb. If I try to modify some value directly into the db, the value of the new hash and the next block's parent hash doesn't match right ?...
1
vote
1answer
58 views

Provide security wallet

I have a service where users can buy my product. Besides paying by card, I want to be able to allow users to pay in ETH. I think that it will correctly generate addresses for each user so that it is ...
1
vote
1answer
310 views

How to modify the gasLimit of the private block chain on the console

as the title,How to modify the "gasLimit" of the private block chain on the console?
1
vote
1answer
870 views

Geth settings for watching Events?

what are the optimal geth settings if you just want to listen to some events that are fired by smart contracts? I'm having a bit trouble to setup geth properly. Thanks a lot. PS: That is my ...
1
vote
0answers
188 views

Testnet mining greyed out

I'm using Ethereum Wallet with Testnet Ropsten, and the blocks appear to be synced. The "Start Mining" option appears to be greyed out (same in Mist). Any ideas on how to fix this?
1
vote
1answer
317 views

How to invoke multiple oracaliszed queries from a single contract

I want to invoke 2 different orcalized queries from the same contract. I saw a few posts but none of the answer works. Is there any way we can do that? Here is my contract. I was expecting this ...
0
votes
1answer
405 views

eth.getBalance(eth.coinbase) = 0, node/client not fully synced yet

I just started to get my fingertips wet with Ethereum and Dapps. After receiving some ether on Ropsten to test with: https://ropsten.etherscan.io/address/0x05c86fc0ec0b80715f1cbc2fa96e86ba18e2eb90 I ...
0
votes
1answer
63 views

Latest block of multiple mining nodes

Lets say I have a private chain with 3 nodes (all mining) A, B and C. I want to get the latest block of my chain. I connect to node A and get this information with getBlock("latest"). Lets imagine ...
0
votes
0answers
85 views

Contract Error: invalid transaction v, r, s values

I've checked the answer here and here but no luck. System information $ geth version Geth Version: 1.9.13-stable Git Commit: cbc4ac264e9671898bff6ec7e434da3eca4bd273 Git Commit Date: 20200416 ...
0
votes
2answers
4k views

Could not fetch chain ID. Is your RPC URL correct?

I want to connect local ethereum network to metamask , it says that it need chain id but when i entered the chain id for local node it shows the error "Could not fetch chain ID. Is your RPC URL ...
0
votes
0answers
24 views

Solidity Integration of Multiple Contracts and a Library

I'm trying to understand the correct way to Deploy and then Import multiple Smart-Contracts and a Library when creating one big project. As an example, the project will have the following Library and ...
0
votes
1answer
270 views

How to “move” balances between wallets?

There is a "move" command in Bitcoin, Litecoin, Dash etc. which lets you move balances between wallets in your node without paying a transaction fee. I wonder if there is a similar command in geth? I'...
0
votes
1answer
2k views

GETH ~ why do i get ERROR: no space left on device

While downloading blockchain im getting this error Fatal: Error starting protocol stack: write /root/.ethereum/geth/chaindata/230944.ldb: no space left on device how this can be resolved? Im ...
0
votes
2answers
58 views

Integrate more then one user with one ethereum account

I have many users inside the organization and I want to use same ethereum account for all the users , but with different usernames, so it there anyway to do that ?
0
votes
0answers
45 views

How to force remove clique signers

I'm configuring the new PoA chain and facing some issues; I have created three nodes but it was not working. From the second transaction, all the new transaction not being confirmed and logs shows ...
0
votes
0answers
192 views

Served eth_sendTransaction err=“unknown account”

I'm facing issue with private chain, when I run the node, it shows the logs as below, and transaction went in pending status. Folder structure All the wallet file reside into keystore folder. Node....
0
votes
1answer
201 views

Why my private chain starting Geth on Ethereum mainnet

My private ethereum showing log "starting Geth on Ethereum mainnet.." here are the full logs INFO [08-27|09:14:02.302] Starting Geth on Ethereum mainnet... INFO [08-27|09:14:02.302] Bumping ...
0
votes
0answers
63 views

How to process transactions that are in txpool with status pending and queued?

I'm running a private chain and facing issue while doing transactions. All my transactions going to pending status. Hence I have increased gasprice, and now new transaction going to queue. Is there ...
0
votes
1answer
145 views

Issues while sending raw transaction for calling smart contract methods?

let provider_url = "https://ropsten.infura.io/v3/d5bca90ec3084aee8abd468fdf876a11"; this.web3Provider = new Web3.providers.HttpProvider(provider_url); window.web3_ = new Web3(this.web3Provider); ...
0
votes
0answers
26 views

Error: exceeds block gas limit undefined (2)

I am using geth 1.9.12. When I try to deploy any contract (below the code), using the console, I get the error: Error: exceeds block gas limit undefined What exactly is this error? Thanks in advance. ...
0
votes
1answer
1k views

Deploying contract using byteCode

In that example you can see, how to deploy a new contract having just ABI and ByteCode (uses for copy and deploy contracts from mainnet to your testnet for example). /****** Deploying new contract ...
0
votes
2answers
98 views

Is it possible to call a function of smart contract “without” installing “Geth” or “Parity”?

Is it possible to call a function of smart contract to send a transaction (for example, writing on the Ethereum blockchain) but "without" installing "Geth" or "Parity" clients? In a more general ...
0
votes
1answer
651 views

geth mining on 32bits host (raspberry pi) memory error

My objective is to create a private testnet, and mining it on a 32bits hardware (RPi3). The memory error I keep getting during DAG generation, if Im not mistaken, is excepted if I am running it on a ...
0
votes
1answer
116 views

Can manage node in my ethereum private network

I have created ethereum private network. there are two node got connected with in this network. both are mining. I have created small contract for transaction. All transaction is happening through my ...
0
votes
2answers
800 views

how to get contract address after its been mined with web3.js

I have tried to deploy a SmartContract from web3.js node library, I am getting a transaction hash from it but how would I get the contract address after It's been mined by a miner? here is my code ...
0
votes
1answer
152 views

How does Ethereum Smart Contract work on Mobile Client

I want to deploy a smart contract on server and interact with it using mobile client. I'm not familiar with how does that work but after some research, I found something like below: If we compare ...
0
votes
1answer
627 views

Deployment of Smart Contracts with Azure Ethereum Consortium does not work

I created an Azure Ethereum Consortium. The Ethereum Network deployed has 2 Transaction Nodes behind a load balancer. Via Putty I connect to one of the transaction nodes. Then I enter geth attach ...
0
votes
2answers
290 views

Gas issue on sendRawTransaction on the rinkeby network

I'm facing a gas issue on rinkeby network on sendRawTransaction. Tested with various gas value to experiment and getting either insufficient funds for gas * price + value or exceeds block gas limit. ...
0
votes
2answers
103 views

Suggestion on my asset contract

I created asset transaction smart contract. Functions are Create Assets (asset id, asset details, with owner) and pushing into array list. Get Assets by owner address: Looping assets array and get ...
0
votes
1answer
46 views

Is the following scenario doable by a smart contract?

I have 2 persons ( say A or B). They want to have the following agreement. Person ‘A’ specify a deposit (x coins ) for user ‘B’ under a certain condition with a future time lock ‘t’. If user ‘B’ ...
0
votes
3answers
204 views

Error trying to create a crowdfunding contract?

I am using the template code found on the Ethereum website for crowdfunding and when I insert it in the solidity contract source code in the Ethereum wallet, it returns: Unused local variable ...
0
votes
1answer
709 views

Create a faucet for Ethereum Private network to get Ethers

I have came up with a private ethereum network. I was able to do the transactions and contract deployments. The funds for all the nodes were specified in genesis. But I need to get a way to send any ...
0
votes
1answer
86 views

Is it possible to get duplicates of the log events on Ethereum when we have a fork of the chain?

Let's suppose we have 2 chains of ethereum blockchain. When I fetching contract's log events from x block to getBlockNumber(). Will i get two or one the same log events from each block? Or ...
0
votes
1answer
67 views

I am trying to add ether to one of my ethereum account using smart contract

function Execution (address _from, address _to) { _from.transfer(price); _to.getBalance(_to) += price; } 1) I think it is duplicate but i gone through but nothing helped 2) I ...
0
votes
1answer
315 views

How to retrieve transactions' info such as gaslimit and gasprice from Etherscan?

This link shows the latest 500k transactions, and by clicking each one it opens a page with its info including gaslimit, gasprice, usedgas etc. https://etherscan.io/txs How can i retrieve the ...
0
votes
1answer
51 views

Truffle test error: deducts the amount from the allowance

What i did first was watching at Dapp university tutorials, I manage to watch all 14 videos and run it with Ganache. But since everything is doing good at local, I created my own private network. Then....
0
votes
1answer
4k views

How to upgrade geth to version 1.7.3? [closed]

I am trying to update geth. I have followed this guide: https://ethereum.stackexchange.com/a/2088/4575 When I do: git pull: I have face with following error. From https://github.com/ethereum/go-...
0
votes
2answers
94 views

Measuring deployment time of a group of transactions in a heavy load testing

I am currently trying to perform heavy load testing on a ERC20 token. My plan is to use truffle to test stuff like how long it would take for 500 transfer transactions to be deployed (on a private ...
0
votes
2answers
850 views

web3 detect/listen to events if someone send ether to addresses

I need to constantly keep running some code to detect if someone has in the past minute sent some ether/token to a lot of addresses, is there better way to do than https://ethereum.stackexchange.com/a/...
0
votes
1answer
324 views

eth.getBalance(eth.accounts[0]) Shows me 0 balance though my syncing is still Running [duplicate]

I am using geth on windows with 1.9.10 version. I used geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" command for launch my geth. I am on the Rinkeby testnet, i already transfer 3 ...
0
votes
1answer
824 views

Import account from one geth node to another geth node

I had a geth node where i created an account. Then i backed up the keystore folder just in case. I had to format the pc and install geth again. So i would like to know how can i import my old account ...
0
votes
2answers
2k views

Web3.js eth.subscribe: on('changed', function(event){}) doesn't work with Metamask?

I write a demo DApp website with this javascript const web3 = new Web3(ethereum); const contractAddr = "0x0Aa27e4B13D5c08A8767B36a0ACb76ED4549B7EA"; const abi = ...; let inst = new ...
0
votes
1answer
44 views

How to sign transactions while Geth does not provide private key?

I've lunched Geth for the first time and created some accounts on it. While creating accounts, I entered a password for each, and a key file is generated which contains encrypted private key belonging ...
0
votes
1answer
60 views

Deployed contract address is getting undefined after few days on private network

I have a private blockchain where I am able to deploy my smart contracts successfully and then I am getting the address of my smart contract which I am storing on my relational db. In geth console ...
0
votes
1answer
213 views

What exactly is Ether currency in Ethereum? [duplicate]

What is exactly Ether currency in Ethereum? Is it a token or a set of some functions that generate some tokens? If so, how many of those functions exist and what do they do? Are they hardcoded in the ...
0
votes
1answer
363 views

How to add peers to a private blockchain network without using IP address?

I have created a private blockchain network and added peers to that network using the admin.addPeers() command. But the problem is, in that method I have to give the local IP address of the system ...
0
votes
1answer
102 views

Unable to call methods on my deployed contract

Problem: All method calls to my deployed contract return null Versions: Geth: 1.9.9-unstable Git Commit: c2d65d34d5c6f27b8d1a52280964023a3eefd66e solc: Version: 0.5.13+commit.5b0b510c....
0
votes
1answer
142 views

delegateContract address getting reset on delegatecall using geth console

I've deployed the following contracts on the rinkeby testnet. They are completely separate with different addresses: pragma solidity ^0.4.11; contract Backend { address public delegateContract; ...

1
10 11 12 13
14