Fork of plugeth with any needed changes for statediff plugin
Go to file
Jeffrey Wilcke 558d18d2b0 core: added future proc mutex lock
Added a future lock which prevents the anything being added or removed
from or to the set when looping over the set of blocks. This fixes a nil
pointer in the range loop when trying to retrieve a block from the set
which was previously available but removed due to regular chain
processing.

Fixes #2305
2016-03-11 09:52:36 +01:00
_data Chain tests 2014-12-30 15:42:26 +01:00
accounts all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() 2016-02-21 22:34:34 +00:00
build all: Add GPU mining, disabled by default 2015-10-07 13:19:30 +02:00
cmd cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache 2016-03-09 10:33:39 +02:00
common common/compiler: fix path problem with filepath.Glob on Windows 2016-03-07 17:52:19 -05:00
compression/rle all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() 2016-02-21 22:34:34 +00:00
containers Added Vagrantfile so that developers can spin up a VM to build geth 2016-02-14 21:48:35 -05:00
core core: added future proc mutex lock 2016-03-11 09:52:36 +01:00
crypto crypto: expose key encryption method, add ping-pong test 2016-02-24 16:28:25 +02:00
errs all: fix license headers one more time 2015-07-23 18:35:11 +02:00
eth cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache 2016-03-09 10:33:39 +02:00
ethdb cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache 2016-03-09 10:33:39 +02:00
event event/filter: fix data race in the test 2015-11-05 16:55:53 +02:00
generators generators: Don't generate params/protocol_params.go with +x bit 2016-02-21 22:46:32 +00:00
Godeps Godeps: update goleveldb to fix a compaction data race 2016-03-10 12:57:59 +02:00
internal/debug internal/debug: APIs for profiling and tracing 2016-01-28 13:36:11 +01:00
jsre console: seed random number generator 2016-02-19 12:55:31 +01:00
light all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() 2016-02-21 22:34:34 +00:00
logger logger/glog: clean up flag getters 2016-01-27 00:51:14 +01:00
metrics eth, metrics, p2p: prepare metrics and net packets to eth/62 2015-08-21 10:30:57 +03:00
miner core, miner: add PendingStateEvent to track non-log updates 2016-02-29 11:24:58 +02:00
node cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache 2016-03-09 10:33:39 +02:00
p2p Merge pull request #2242 from jimenezrick/upstream-crypto 2016-02-24 12:57:57 +01:00
params params: updated homestead block 2016-02-29 16:19:32 +01:00
pow all: Add GPU mining, disabled by default 2015-10-07 13:19:30 +02:00
rlp rlp: add "tail" struct tag 2016-02-19 11:14:29 +01:00
rpc Merge pull request #2280 from bas-vk/js-cleanup 2016-03-02 21:23:47 +01:00
tests Merge pull request #2260 from karalabe/ethash-cache-fixes 2016-02-24 17:58:12 +02:00
trie cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache 2016-03-09 10:33:39 +02:00
whisper all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() 2016-02-21 22:34:34 +00:00
.gitattributes .gitattributes: add 2015-08-06 17:18:59 +02:00
.gitignore Added Vagrantfile so that developers can spin up a VM to build geth 2016-02-14 21:48:35 -05:00
.gitmodules cmd/geth, jsre: updated ethereum.js => web3.js 2015-04-24 11:37:58 +02:00
.mailmap Adjust .mailmap 2015-07-07 11:50:49 -05:00
.travis.yml crypto/secp256k1: remove dependency on libgmp 2015-12-03 21:12:13 +01:00
AUTHORS all: update license information 2015-07-07 14:12:44 +02:00
CONTRIBUTING.md CONTRIBUTING: Added a feature section 2016-02-02 15:44:27 +01:00
COPYING all: update license information 2015-07-07 14:12:44 +02:00
COPYING.LESSER all: update license information 2015-07-07 14:12:44 +02:00
Makefile Makefile, cmd/geth: support building Android archives 2015-12-14 14:28:14 +02:00
README.md crypto/secp256k1: remove dependency on libgmp 2015-12-03 21:12:13 +01:00
VERSION VERSION, cmd/geth: bumped version 1.4.0 2015-11-03 11:48:18 +01:00

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 both a Go and a C compiler. 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.