Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [go-ethereum]

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

18
votes
0answers
453 views

E/Go: fatal error: thread exhaustion

I am experimenting with the geth-android library with light-client and in-process node from @karalabe. I could successfully sync with the testnet node from @phonikg, unfortunately this one is down now....
8
votes
0answers
1k views

Geth 6.2: miner.start() returns null and miner's hash-rate drop for all miners down due to the update

On Geth Version: 1.6.2-unstable miner.start() returns null, it used to return number of processes assigned. Is it normal? miner.start(num) num identifies the thread number? > miner.stop() true >...
7
votes
0answers
200 views

How to start geth for whisper only without blockchain stuff?

I'm writing a chat app on top of Whisper; the app is supposed to manage the lifecycle of the Ethereum node. One way to build to is to use wnode in the background & communicate with it using ...
6
votes
0answers
470 views

Installing go-ethereum nodes using docker swarm?

Has anybody installed and configured go-ethereum nodes using dockerswarm ? Appreciate if anybody could share any docs or relevant information.
5
votes
0answers
160 views

Geth vs Parity Transaction propagation (1 / sqrt(n))

Is there a reason that geth propagates new txs to all peers but parity only propagates txs to 1/sqrt(n) (on average) peers? I see a comment in geth to the effect of //FIXME include this again: peers = ...
5
votes
0answers
386 views

Error: missing trie node 60c376cdb14aec… (path)

I'm trying to start a geth node to connect to the Rinkeby test network by running geth --networkid=4 --datadir=$HOME/.rinkeby --verbosity 0 --syncmode=light --bootnodes=enode://...
5
votes
0answers
2k views

Why is Geth's “fast” sync now the default, whereas before it wasn't?

As of version 1.6.0, the default method used by Geth for syncing the chaindata is "fast": The default sync mode is --syncmode=fast, for full sync please use --syncmode=full. Previously, the ...
4
votes
0answers
75 views

Error trying to synchronize geth clique client after shutdown

I'm working with a private network using geth clique clients. Each time a node shut downs, (after a power cut, or just killing the geth process), if a try to put it to work again, the node can't ...
4
votes
0answers
486 views

Bootnode public address

I am trying to deploy an small private Ethereum network using geth. I have a server running geth configured as a miner in my local network. In the other side I have a droplet in DigitalOcean that I ...
4
votes
0answers
163 views

Running a geth light client, how do I resolve the error: “No trusted canonical hash trie”?

I've been running a geth light client to deploy smart contracts through Truffle Migrations to mainnet. I'm getting: "Error: No trusted canonical hash trie". Any help in what this entails and how to ...
4
votes
0answers
302 views

What is the current size of the Ethereum State?

What is the current size of Ethereum's state in bytes? I am not asking about the size of the blockchain with blocks headers, transactions and receipts. I am looking for the size of all the structure ...
4
votes
0answers
233 views

Geth LES Client. Only synchronize the last 50 headers?

Using a LES client, is it possible to only synchronize only some of the last headers on first run ? I am not interested in the chain history. I understand the security implications of not validating ...
4
votes
0answers
267 views

Why are there discrepancies between client message signatures?

I have been investigating message signing using an Ethereum account, and have become somewhat bemused by the different signatures that I receive from different clients and different libraries. I have ...
4
votes
0answers
94 views

Testnet blockchain inconsistencies - geth diverged from original blockchain?

I'm using go-ethereum instance: Geth/v1.5.9-unstable-fa999861/linux/go1.7.4. I cloned it from github (commit: fa99986143fe3dec08cdffcff9185e3700719edd). On Feb, 6th I synchronized with testnet via ./...
4
votes
0answers
187 views

Whisper protocol: Version conflict between geth and ethereumj

I am trying to use whisper in a permissioned network with both geth and ethereumj nodes. The Java nodes detect the capability shh version 2 of their geth peers, but only check for nodes with ...
4
votes
0answers
770 views

Synchronisation using geth; DAO fork-check, dropping is the only message recieved

I'm attempting to synchronise with the blockchain using geth on Win7 64bit. Presently pretty much all I'm getting is repeats of the same message; timed out DAO fork-check, dropping (see bottom). ...
4
votes
0answers
437 views

Unstable connection between peers on a private network

I created a private net, I've been trying to connect two Ethereum nodes because I need one of them to mine the transaction made by the other. The two nodes are on different machines and networks. I ...
4
votes
0answers
410 views

geth throwing header invalid error all the time

lately my ethereum node is repeatedly throwing this error: E0811 16:44:00.646126 core/blockchain.go:1128] uncle[0](30508438) header invalid: nonce for #2004585 [...
4
votes
0answers
296 views

How to add additional parameters to Ethereum Wallet?

I wish to add a few more fields to the wallet file & save it in the keystore so that I can manage them better. For instance, consider the following: { "address": "...
4
votes
0answers
417 views

Deploying contracts on geth returns {“jsonrpc”:“2.0”,“error”:{“code”:-32600,“message”:“EOF”}}

I'm trying to connect geth with truffle to deploy my contracts to my testrpc. When I run truffle deploy it's running but when I do http://localhost:8545/ it's throwing {"jsonrpc":"2.0","error":{"...
4
votes
0answers
68 views

How can I link the serpent compiler to geth?

geth offers the function eth.compile.serpent. However, when I try to provide some source to the compiler, it returns The method eth_compileSerpent does not exist/is not available. I wonder: How can ...
4
votes
0answers
262 views

Error: Transaction not confirmed for sendTransaction at rpc connection through http

I am trying to send a transaction to a contract deployed on the testnet. I run the geth HTTP JSON-RPC, with unlock option and the necessary apis accessible. When I exec the web3.eth....
4
votes
0answers
470 views

sendTransaction and events not working in NodeJS app

I have a contract deployed on the testnet, I can do the following within geth: reference.transfer.sendTransaction(bob, 467, {from:me}) However I can't do this within my node console (with web3 etc. ...
3
votes
0answers
83 views

VM revert on Scalar Multiplication in pre-compiled contracts

I tried to build a wrapper around the precompiled contracts as follows: https://gist.github.com/AlexXiong97/9c24bbd4541323a61fa63100860a5f89 If you paste it into Remix and deploy it, inputting any (...
3
votes
0answers
27 views

Block Timestamps vs. Received Timestamp

I've been logging local timestamps when I receive blocks on two separate geth nodes to see which (if any) is consistently faster. But I just stumbled across something that I don't understand - in my ...
3
votes
0answers
181 views

Header broke chain ancestry, Synchronisation failed, dropping peer & retrieved hash chain is invalid

System information Geth version: Geth Version: 1.8.22-stable Git Commit: 7fa3509e2eaf1a4ebc12344590e5699406690f15 Architecture: arm Protocol Versions: [63 62] Network Id: 1 Go Version: go1.11.5 ...
3
votes
0answers
61 views

Why two contracts got same address?

I've been testing payments for shopping cart on a private chain. I create and deploy contracts to disburse payments among sellers. So if a shopper buys same items again the contracts for two carts ...
3
votes
0answers
141 views

How to access txpool pending transactions using Netherum?

I want to get list of transactions which are in pending state & queued state in txpool. I can see these transactions in pool using txpool.inspect command. I tried code given in nethereum sample ...
3
votes
0answers
70 views

Miner accepting 0 price transactions

I am hosting a private blockchain and I am testing out the Geth functionality. I have deployed a Solidity contract based on the Greeter example. The functionality is not important, but suffice to say ...
3
votes
0answers
81 views

How the Ethereum Swarm connects nodes and several related questions

Read everything after https://swarm-guide.readthedocs.io/en/latest/usage.html and leave an article. Some questions about etherium swarm Where is the uploaded data stored? And how do you find it? I ...
3
votes
0answers
81 views

GETH gets out of sync from time to time

GETH tooks 6 days to sync, after that it will get out of sync from time to time. (PC is running with SSD, never shutdown, and network availability is 100% with 500mbps connection). May I know how ...
3
votes
0answers
316 views

What is the safest way to use WS-RPC server in geth?

In this answer, it is suggested that it is not safe to use --wsorigins="*" for security reasons. What are the security reasons? => How could I make WS-RPC server connection secure in geth? If I use ...
3
votes
0answers
33 views

Send endorsement message after finding new block Go Ethereum

When miner successfully found a new block's nonce, it then seal this block and broadcast/announce to peers in network. I want to add endorsement feature after miner found a nonce. This requires ...
3
votes
0answers
89 views

Does Geth and Parity store blockchain in level db in same format?

If not, what are the diffrences?, for example geth db format is: var databaseVerisionKey = new Buffer("DatabaseVersion"); // databaseVerisionKey tracks the current database version. var headHeaderKey ...
3
votes
0answers
172 views

Unable to Add 3rd Proof-of-Authority Sealer Node

I have a geth POA private blockchain setup and running with 2 sealer nodes. Now I have setup a 3rd node as a sealer, and ran the following command on the both existing sealer nodes clique.propose("...
3
votes
0answers
208 views

how to send transaction with geth running in light mode on testnet

I am having troubles to sendTransaction with geth running in light mode. Startup: geth --testnet --syncmode "light" --rpc --rpcport 10001 --rpccorsdomain "*" --rpcaddr 127.0.0.1 --datadir /opt/...
3
votes
0answers
64 views

Getting error message from require() using golang, and go-ethereum?

From everything I've been able to find, the only way you can get the error message from require() is by using remix which isn't practical for dealing with production issues. Therefore, I'm wondering ...
3
votes
0answers
106 views

Proof of Authority Finalisation

Are there uncles/orphaned blocks in a PoA-based network? How do we reach consensus which is the real chain if the chain is splited/ we have a fork? Do you know any possible attack vectors on such ...
3
votes
0answers
85 views

How to parse through the logsBloom of a block or transaction using solidity

Currently trying to figure out how to parse through the logsBloom portion of block and transaction headers using solidity. I've researched the topic so far and have come to the understanding that RLP ...
3
votes
0answers
172 views

Backup blockchain from a running geth fullnode

I need to make backups from my running node to be able to start a second node quickly or to restore the node quickly if it gets corrupted. Does geth export work on a running node? is it a good option ...
3
votes
0answers
164 views

Geth - Events not working/firing

I have an API (expressjs - nodejs) listening for different events from my contract. var web3 = new Web3(new Web3.providers.WebsocketProvider("ws://localhost:8546")); var tokenContract = new web3.eth....
3
votes
0answers
545 views

Is Geth's Clique PoA Consensus Algorithm production ready?

Is it recommended to use geth's Clique PoA in a production setup or is it for test-net only? Does someone know of productive deployments of Clique PoA?
3
votes
0answers
71 views

SQL syntax error near `logsBloom` when call web3.eth.sendTransaction

When I am trying to call web3.eth.sendTransaction I receive this error stack: Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ...
3
votes
0answers
548 views

How to make geth log RPC calls?

I want to see the logs of the JSON-RPC calls to geth (with all the details if possible). How can I do that? In this page, I have found a command line option: --vmodule value Per-module ...
3
votes
0answers
164 views

Can I `eth_call` a non constant function from javascript?

I know that I can't get the return value from a transaction (How to get values returned by non constant transaction functions?), and non-constant functions have return value because they can be called ...
3
votes
0answers
115 views

Geth private chain hashrate lower on higher versions

Using Geth I am running a private development chain (locally) with one node, starting it as follows: geth --networkid 12321 --datadir=".embark/development/datadir" --password config/development/...
3
votes
0answers
269 views

SSL Support for Communication Between Geth Nodes

We are using private Ethereum network for a multi entity use-case. The problem is that all these entities geth nodes sits behind a firewall which only allows TLS traffic. The node that's broadcasting ...
3
votes
0answers
316 views

Can't get geth to connect to own fullnode via --bootnodes param

I'm running a full node with LES protocol enabled which I want my light clients to connect to and sync from. I tried to do this by starting the light client with geth --light --bootnodes <my_enode&...
3
votes
0answers
286 views

Account and/or Balance not found in Geth for Smart Contract Deployment

Error 'Error: Account does not exist or account balance too low' Overview I'm trying to deploy the greeter smart contract in the ethereum.org/greeter tutorial. I downloaded/validated the ...
3
votes
0answers
903 views

flag provided but not defined: -rpc

I'm using Geth to set up a private ethereum network and this is the command: $ geth --identity "MyTestNode" --datadir "SomeDir" init genesis.json --rpc --rpcaddr "localhost" --rpcport "8000" --...