Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 54

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

15 votes

Is there a way to stop the Geth console from printing syncing information?

you can also change the verbosity in the client with debug.verbosity(x) where x is the level you want.
euri10's user avatar
  • 4,640
1 vote

Is it possible to modify this command to use with the console in Geth?

you have to put console after the options, the help command tells you that : ➜ ✗ geth --help NAME: geth - the go-ethereum command line interface USAGE: geth [options] command [command options …
euri10's user avatar
  • 4,640
14 votes
Accepted

Is there the start/stop script of geth after Debian/Ubuntu booting?

I won't get into a system.d vs sysvinit debate, but here's how you could do it with the defaults init manager that Debian / Ubuntu is shipped with. Create a file /etc/systemd/system/[email protected] an …
euri10's user avatar
  • 4,640
4 votes
1 answer
12k views

geth, what happened to --logfile?

I just compiled 1.4rc and got this error. I failed at seeing how to use --logfile now, it seems it's been removed but I'm not able to find an alternative. ➜ go-ethereum git:(release/1.4) build/bin/g …
euri10's user avatar
  • 4,640
14 votes
1 answer
13k views

geth init, what are the arguments?

this command works but yields a warning of future removal so I'd like to use new option init : ➜ ~ go-ethereum/build/bin/geth --datadir="~/testgeth/" --genesis ~/testgeth/customgenesis.json --port …
euri10's user avatar
  • 4,640
1 vote
1 answer
224 views

Is there a loadscript equivalent in eth?

I got this error in eth client : Error: Uncaught ReferenceError: loadscript is not defined is there a loadscript equivalent command in the cpp client eth?
euri10's user avatar
  • 4,640
6 votes
Accepted

"potential rewrite attack" message on Geth

the message appears 4 times here in the geth code of this function The comment explains it well : // findAncestor61 tries to locate the common ancestor block of the local chain and // a remote peers …
euri10's user avatar
  • 4,640
6 votes

Common useful JavaScript snippets for geth

find tokens in the blockchain, courtesy of https://github.com/linagee/find-ethereum-coins/blob/master/token.js var tokenInterface = [{"type": "function","name": "name","constant": true,"inputs": []," …
9 votes
Accepted

What is the difference between a static node and a trusted node?

Won't add much than what you said apart from the reconnection feature ! According to this and this as you said : p2p.Server should be able to use a JSON file containing trusted node addresses. …
euri10's user avatar
  • 4,640
14 votes
3 answers
20k views

how do you know your db is synced in geth?

In order to answer this question there is a need to get the timestamp of when the database is synced with geth. I can think of two ways of doing that : find the 1st occurrence of 1 block in the geth …
euri10's user avatar
  • 4,640
96 votes
12 answers
51k views

Common useful JavaScript snippets for geth

In Geth you can loadscript any javascript file. I discovered this one on the wiki which I like a lot: function checkAllBalances() { var i =0; eth.accounts.forEach( function(e){ console.log(" …
2 votes

Buliding geth from source does not make Solidity available

eth.getCompilers() returns an empty list even if installed. You can try : ➜ ~ which solc /usr/local/bin/solc then in geth > admin.setSolc("/usr/local/bin/solc") Following your edit, if you ju …
euri10's user avatar
  • 4,640
6 votes
Accepted

How can I connect to geth by IPC on nodejs?

according to the documentation you can do: $ geth attach ipc:/some/custom/path $ geth attach http://191.168.1.1:8545 $ geth attach ws://191.168.1.1:8546 So the 1st line is what you want, just replace …
euri10's user avatar
  • 4,640
4 votes
2 answers
2k views

How do I delete the geth console history?

how do I delete the geth console history ? I'm concerned with this, especially in light of this recent Mist hack : On the console you can also unlock accounts (one at a time). personal.unloc …
euri10's user avatar
  • 4,640
3 votes

TheDAO internal transactions

you can find the internal transaction list in a block explorer like here for instance.
euri10's user avatar
  • 4,640

15 30 50 per page