Fork of plugeth with any needed changes for statediff plugin
Go to file
Felix Lange 70b6174748 cmd/geth, core: make "geth blocktest" work again
The test genesis block was not written properly, block insertion failed
immediately.

While here, fix the panic when shutting down "geth blocktest" with
Ctrl+C. The signal handler is now installed automatically, causing
ethereum.Stop to crash because everything is already stopped.
2015-09-22 23:55:31 +02:00
_data Chain tests 2014-12-30 15:42:26 +01:00
accounts
build
cmd cmd/geth, core: make "geth blocktest" work again 2015-09-22 23:55:31 +02:00
common
compression/rle
core cmd/geth, core: make "geth blocktest" work again 2015-09-22 23:55:31 +02:00
crypto
docker
errs
eth
ethdb
event
generators
Godeps
jsre
logger all: fix license headers one more time 2015-07-23 18:35:11 +02:00
metrics
miner
p2p
params
pow
rlp
rpc
tests
trie
whisper
xeth core: split out TD from database and all internals 2015-09-11 17:42:25 +03:00
.gitattributes
.gitignore
.gitmodules
.mailmap
.travis.yml Codecov integration 2015-08-18 22:46:48 +02:00
AUTHORS all: update license information 2015-07-07 14:12:44 +02:00
CONTRIBUTING.md
COPYING
COPYING.LESSER
Makefile makefile: built in cross compilation targets 2015-09-21 21:36:01 +03:00
README.md

Ethereum Go

Official golang implementation of the Ethereum protocol

      | Linux   | OSX | ARM | Windows | Tests

----------|---------|-----|-----|---------|------ develop | Build+Status | Build+Status | Build+Status | Build+Status | Buildr+Status codecov.io master | Build+Status | Build+Status | Build+Status | Build+Status | Buildr+Status codecov.io

API Reference Gitter

Automated development builds

The following builds are build automatically by our build servers after each push to the develop branch.

Building the source

For prerequisites and detailed build instructions please read the Installation Instructions on the wiki.

Building geth requires two external dependencies, Go and GMP. You can install them using your favourite package manager. Once the dependencies are installed, run

make geth

Executables

Go Ethereum comes with several wrappers/executables found in the cmd directory:

Command
geth Ethereum CLI (ethereum command line interface client)
bootnode runs a bootstrap node for the Discovery Protocol
ethtest test tool which runs with the tests suite: /path/to/test.json > ethtest --test BlockTests --stdin.
evm is a generic Ethereum Virtual Machine: evm -code 60ff60ff -gas 10000 -price 0 -dump. See -h for a detailed description.
disasm disassembles EVM code: `echo "6001"
rlpdump prints RLP structures

Command line options

geth can be configured via command line options, environment variables and config files.

To get the options available:

geth help

For further details on options, see the wiki

Contribution

If you'd like to contribute to go-ethereum please fork, fix, commit and send a pull request. Commits who do not comply with the coding standards are ignored (use gofmt!). If you send pull requests make absolute sure that you commit on the develop branch and that you do not merge to master. Commits that are directly based on master are simply ignored.

See Developers' Guide for more details on configuring your environment, testing, and dependency management.