Questions tagged [go-ethereum]

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

1,545 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
21
votes
0answers
513 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....
9
votes
1answer
326 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 ...
8
votes
1answer
378 views

getting started with geth and ENS commands: Error: invalid address

I'm starting from square zero, sorry. I'm just trying to get a javascript console up and running so that I can learn more about ENS: http://docs.ens.domains/en/latest/userguide.html#resolving I've ...
7
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 ...
7
votes
0answers
490 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
2answers
993 views

Smart contract erc20 code snippet to prevent buyer token transfers

I´m going to start a token pre-sale and I want to be able to send the tokens to the buyer but prevent the buyer to send tokens to another wallet. I tried the following in my ERC20 smart contract but ...
6
votes
3answers
2k views

Sync done but latest block number 0

I am running geth 1.8.0 I have been running the node for over 24 hours > eth.syncing false > eth.getBlock("latest").number 0 Is this a valid state? Why is the number 0 even though syncing is ...
5
votes
1answer
209 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 ...
5
votes
2answers
424 views

Geth: bootnode tool and --nodiscover

In Geth, if I use the --nodiscover option, my node won't be discovered by default from other nodes. Conversely, with bootnode tool implemented in geth, first I have to generate a key, then I have to ...
5
votes
0answers
187 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
1answer
492 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
188 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 ...
5
votes
1answer
748 views

Call write function, which doesn't change contract value

I'm new in smart contracts and faced with one problem. After deploying contract to my test local blockchain network, i try to set new value via setter, after that I call get method of contract and it ...
5
votes
0answers
427 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
4answers
533 views

Can Ethereum DApps work without downloading all blocks in the network?

I've just downloaded Mist (the Ethereum wallet) and am waiting for all blocks to download. I'm on the test network and its been 24 hours with only 50% of the blocks downloaded. My question is, if one ...
5
votes
1answer
228 views

web3.eth.compile.solidity(source) throws me Invalid JSON RPC response

I am relatively new to Blockchains and when I execute the following command I am getting an error. contract mortal { address owner; function mortal() { owner = msg.sender; } ...
5
votes
2answers
173 views

Writing GBytes of data to disk, despite no network activity - what, precisely, is geth doing?

I'm watching geth 1.4.17 on Activity Monitor. Judging by the Network page, it's not doing anything. Rcvd Bytes is 5.9MBytes, and Sent Bytes is 2.6MBytes, and it's been that way for a while now. But ...
4
votes
0answers
16 views

Is go-ethereum performance much affected by linux filesystem choice?

Storage performance often seems to be a bottleneck when running a geth node, even when running on SSDs. Does anyone know of performance comparisons under different linux filesystem choices? By ...
4
votes
0answers
52 views

what is the difference between non-executable transactions and executable transactions?

In geth doc I found this : --txpool.globalslots value Maximum number of executable transaction slots for all accounts (default: 4096) --txpool.accountqueue value Maximum number ...
4
votes
0answers
122 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
1answer
565 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
316 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
251 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("...
4
votes
1answer
205 views

DEVp2p Wire Protocol tutorial on geth or Web3.js/Web3.py

I was looking to develop an application using ÐΞVp2p Wire Protocol and I'm having trouble finding an example or tutorial. I was able to find only ÐΞVp2p Wire Protocol's wiki. [Q] Does anybody has a ...
4
votes
0answers
339 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
1answer
618 views

Extremely slow geth mining and synchronization for private blockchain

I am constructing a very simple 2 nodes private Ethereum network to study the mining behaviour. The consensus algorithm is ethash. In order for the 2 nodes to discover each other, I also setup a ...
4
votes
1answer
503 views

Contract transaction couldn't be found after 50 blocks in Kovan

When deploying contracts on the ledger I faced with issue Error encountered, bailing. Network state unknown. Review successful transactions manually. Error: Contract transaction couldn't be ...
4
votes
1answer
622 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 ...
4
votes
1answer
400 views

How can I use swarm with metamask or parity node?

I want to use swarm, but I wan't to download the all blockchain data. Is it possible to use metamask or parity node instead?
4
votes
0answers
266 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
983 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" --...
4
votes
2answers
241 views

After a successful geth fast sync, Mist began to sync all the db again

After 3 days of syncing with geth --fast, finally I got the last block synced I started Mist and it began syncing again from -3,800,xxx The DB folders were correctly set - I double checked them. Where ...
4
votes
1answer
4k views

UTC/json wallet file: deleted -> recovered -> corrupted. 0.1 ETH REWARD

--EDIT-- I have advanced in my research. The UTC/JSON file in question is a 491 byte file. There are 256 random characters in the file with each 16 possible characters. Like a 256-number long ...
4
votes
1answer
314 views

Why does geth -light start importing block headers from 3297471

I've been using geth to download the blockchain (on full) and one of the requirements for my research involves the use of light clients. I used 2 computers to download the blockchain on the -light ...
4
votes
0answers
280 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
1answer
358 views

Create new account over IPC

I want to create a new account over IPC so I have started private chain with the below command geth --networkid=5 --datadir DataDir --ipcapi "db,eth,net,web3,personal" --ipcpath "/Users/smartSense/....
4
votes
0answers
95 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
192 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
1answer
426 views

web3 api in eth

Since, I am not able to use the go client in the multi node mode due to a bug (Multi node private local ethereum and send transaction), I tried to use the c++ client eth. Tried using the go client ...
4
votes
0answers
771 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
462 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
434 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
303 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
425 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
69 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
268 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
478 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. ...
4
votes
1answer
129 views

Can someone share your geth export file with me?

I need to setup an archival node ASAP but the download takes around 1-2 block per second. With this speed it will finish in 2 months (if it doesn't stall, but it does, I have to restart it manually ...
4
votes
1answer
154 views

Send json rpc request in Long connection

How can i send rpc request in long connection. Since the default rpc request using the short connection. When i send many requests together, the geth will break down with to many open file error, ...
4
votes
1answer
328 views

personal.newAccount(“mypassword”) stops the server when i create two accounts consecutively in local privatenet

personal.newAccount("mypassword") stops the server when i try to create two accounts one after the another. personal.unlockAccount(eth.accounts[0],"mypassword"); same happens when I try unlock ...