Go implementation of the Ethereum protocol
Go to file
Jeffrey Wilcke 342ae7ce7d core, core/vm, tests: changed the initialisation behaviour of the EVM
The EVM was previously initialised and created for every CALL, CALLCODE,
DELEGATECALL and CREATE. This PR changes this behaviour so that the same
EVM can be used through the session and beyond as long as the
Environment sticks around.
2016-03-23 00:04:00 +01:00
_data Chain tests 2014-12-30 15:42:26 +01:00
.github templates: added issue template 2016-03-14 23:39:21 +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 core, core/vm, tests: changed the initialisation behaviour of the EVM 2016-03-23 00:04:00 +01: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, core/vm, tests: changed the initialisation behaviour of the EVM 2016-03-23 00:04:00 +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 core, eth: replace reorganiz with reorganis 2016-03-15 12:03:17 -07: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: pull in the leveldb upstream write race fix 2016-03-11 09:30:25 +02:00
internal/debug cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panic 2016-03-12 00:59:37 +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 p2p/nat: fix #2291, NAT discovery did't abort on failure 2016-03-14 17:08:15 +02: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 core, core/vm, tests: changed the initialisation behaviour of the EVM 2016-03-23 00:04:00 +01: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
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.