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
412 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
451 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.
6
votes
0answers
173 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
150 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
368 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
373 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
409 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
106 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
114 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 ...
4
votes
0answers
251 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
212 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
254 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
241 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
93 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
92 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
394 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
687 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
116 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
186 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
416 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
404 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
293 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
410 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
67 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
256 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
462 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
30 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 ...
3
votes
0answers
55 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
74 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
64 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
72 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
69 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
239 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
78 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
131 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
177 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
58 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
103 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
280 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
77 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
151 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
147 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
519 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
66 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
503 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
159 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
110 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/...