Stack Exchange Network

Stack Exchange network consists of 174 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
386 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 >...
8
votes
0answers
243 views

Geth 1.4.10 — faild enc handshake: EOF

Geth suddenly stopped working for me - when I run it on verbosity level 5 I get repeating error messages like the following: dyn dial conn 120.27.122.174:30303 faild enc handshake: EOF Any thoughts ...
7
votes
0answers
427 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
152 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 ...
5
votes
0answers
154 views

How does reputation work in the Ethereum P2P network?

Nodes in the Ethereum P2P network assign their peers reputation in order to keep track of how well they behaved in the past and evaluate whether it would be preferable to disconnect from them. What ...
5
votes
0answers
144 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
350 views

Connecting to remote Geth client from AWS hosted server via web3 needs fix

There is a general problem that is affecting most everyone who tries to initialize AWS hosted servers with a remote Geth instance. It would be great to have documentation to address a fix or at least ...
5
votes
0answers
348 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://...
4
votes
0answers
64 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
226 views

How to use Ethereum precompile bn256Pairing to check equality on symmetric groups?

The address 0x8 contains bn256Pairing pre-compiled contract on Byzantium release. I have the following questions : If I have G_1 = G_2, i.e., a symmetric pairing, is it possible to check e(a_1, b_1) ?...
4
votes
0answers
201 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
242 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
237 views

How to change block's current time in testrpc

I created a smart contract, in that i'm assigning now to particular value. uint raisedtime=now; EmitNow(raisedtime); //event function. It return the unix timestamp of vary old date. How to change or ...
4
votes
0answers
91 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
91 views

Time to first block

I am experience long waiting times from start of the block-sync to the first block. Is there any way I can speed this up? 02-08 17:21:37.971 23640 23659 E GoLog : I0208 16:21:37.980483 eth/...
4
votes
0answers
388 views

How can i confirm transaction in geth from other peer of blockchain?

I have a query , I have create a private blockchain in which one geth node1 is use for transaction taking and other one(node2) is for mining .They are peered with each other and perfectly ...
4
votes
0answers
674 views

How to run a testnet json rpc server?

I recently tried getting back into developing on Ethereum and it seems that everything about my setup has changed in the last half a year. I used to just be able to download a wallet from https://...
4
votes
0answers
114 views

Contract works fine in Solidity-browser but not against private node

I have been testing a contract using the Solidity Browser, but when I deploy the same contract on my private node, it doesn't seem to work the same as in the Solidity Browser. I have tried manually ...
4
votes
0answers
183 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
768 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
397 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
394 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
287 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
402 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
65 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
254 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
460 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
49 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
23 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
56 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
58 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
58 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
160 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
31 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
64 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
97 views

How to change Geth PoA Clique block sealing time?

I have used puppeth to generate genesis file in which I set sealing time to 30 seconds. I have set up one miner. Now, I want to change the sealing time to 5 seconds. How can I do that on same ...
3
votes
0answers
150 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
53 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
260 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 ...
3
votes
0answers
70 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
139 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
129 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
507 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
58 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
149 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
105 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
236 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
286 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
380 views

Does sendRawTransaction behave the same as sendTransaction with nonce parameter.

In the Javascript API wiki it states that if you send a transaction with sendTransaction() and the optional nonce parameter set you can overwrite your pending transaction. nonce: Number - (...