Fork of plugeth with any needed changes for statediff plugin
Go to file
Jeffrey Wilcke 1f3596c25a core: transition db now also returns the required gas amount
Exposes some core methods to transition and compute new state
information and adds an additional return value to the transition db
method to fetch required gas for that particular message (excluding gas
refunds from any SSTORE[X] = 0 and SUICIDE.

Fixes #2395
2016-04-01 01:01:10 +02: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 accounts/a/b/backends, core: chain maker homestead block set to 0 2016-04-01 01:01:10 +02:00
build all: Add GPU mining, disabled by default 2015-10-07 13:19:30 +02:00
cmd core: added basic chain configuration 2016-04-01 01:01:10 +02:00
common core: added basic chain configuration 2016-04-01 01:01:10 +02: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: transition db now also returns the required gas amount 2016-04-01 01:01:10 +02: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: transition db now also returns the required gas amount 2016-04-01 01:01:10 +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 accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABI 2016-03-24 14:15:18 +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: added basic chain configuration 2016-04-01 01:01:10 +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 core: added basic chain configuration 2016-04-01 01:01:10 +02: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 #2141 from obscuren/evm-init 2016-03-23 23:20:51 +01:00
tests core: added basic chain configuration 2016-04-01 01:01:10 +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
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.