Official Go implementation of the Ethereum protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Péter Szilágyi 886478b18b core/state, trie: don't leak database writes before commit 9 years ago
Godeps rpc/v2: optionally passing context argument to rpc v2 api methods 9 years ago
_data Chain tests 10 years ago
accounts Merge pull request #2035 from bas-vk/rcp-v2-rebase 9 years ago
build all: Add GPU mining, disabled by default 9 years ago
cmd Merge pull request #2064 from fjl/remove-common-rlp 9 years ago
common common: Fix HomeDir detection 9 years ago
compression/rle all: fix license headers one more time 9 years ago
core core/state, trie: don't leak database writes before commit 9 years ago
crypto Merge pull request #2056 from fjl/fix-account-format 9 years ago
docker update Dockerfile, remove supervisord and unattended-upgrades 9 years ago
errs all: fix license headers one more time 9 years ago
eth core, eth/downloader: ensure state presence in ancestor lookup 9 years ago
ethdb common: remove old RLP implementation, Value and ExtPackage 9 years ago
event event/filter: fix data race in the test 9 years ago
generators all: fix license headers one more time 9 years ago
jsre Merge pull request #1999 from karalabe/javascript-timer-argcheck 9 years ago
light light: implemented odr-capable trie and state structures 9 years ago
logger all: fix license headers one more time 9 years ago
metrics eth, metrics, p2p: prepare metrics and net packets to eth/62 9 years ago
miner rpc: new RPC implementation with pub/sub support 9 years ago
node core, eth, node, rpc: port the admin and debug API 9 years ago
p2p p2p/discover: attempt to deflake TestUDP_responseTimeouts 9 years ago
params miner: gas limit strategy, target 3141592 & def gas price 50 Shannon 9 years ago
pow all: Add GPU mining, disabled by default 9 years ago
rlp rlp: move ListSize to raw.go 9 years ago
rpc Merge pull request #2061 from zsfelfoldi/rpc-context 9 years ago
tests cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks 9 years ago
trie core/state, trie: don't leak database writes before commit 9 years ago
whisper Merge pull request #2035 from bas-vk/rcp-v2-rebase 9 years ago
xeth common: remove old RLP implementation, Value and ExtPackage 9 years ago
.gitattributes .gitattributes: add 9 years ago
.gitignore updated ignore 10 years ago
.gitmodules cmd/geth, jsre: updated ethereum.js => web3.js 10 years ago
.mailmap Adjust .mailmap 9 years ago
.travis.yml crypto/secp256k1: remove dependency on libgmp 9 years ago
AUTHORS all: update license information 9 years ago
CONTRIBUTING.md Updated README, Added CONTRIBUTING 9 years ago
COPYING all: update license information 9 years ago
COPYING.LESSER all: update license information 9 years ago
Makefile Makefile, cmd/geth: support building Android archives 9 years ago
README.md crypto/secp256k1: remove dependency on libgmp 9 years ago
VERSION VERSION, cmd/geth: bumped version 1.4.0 9 years ago

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 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.