• Jeffrey Wilcke's avatar
    core: added basic chain configuration · f0cbebb1
    Jeffrey Wilcke authored
    Added chain configuration options and write out during genesis database
    insertion. If no "config" was found, nothing is written to the database.
    
    Configurations are written on a per genesis base. This means
    that any chain (which is identified by it's genesis hash) can have their
    own chain settings.
    f0cbebb1
Name
Last commit
Last update
.github templates: added issue template
Godeps accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABI
_data Chain tests
accounts core: added basic chain configuration
build all: Add GPU mining, disabled by default
cmd core: added basic chain configuration
common core: added basic chain configuration
compression/rle all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
containers Added Vagrantfile so that developers can spin up a VM to build geth
core core: added basic chain configuration
crypto crypto: expose key encryption method, add ping-pong test
errs all: fix license headers one more time
eth core: added basic chain configuration
ethdb cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
event event/filter: fix data race in the test
generators generators: Don't generate params/protocol_params.go with +x bit
internal/debug cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panic
jsre console: seed random number generator
light all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
logger logger/glog: clean up flag getters
metrics eth, metrics, p2p: prepare metrics and net packets to eth/62
miner core: added basic chain configuration
node cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
p2p p2p/nat: fix #2291, NAT discovery did't abort on failure
params core: added basic chain configuration
pow Loading commit data...
rlp Loading commit data...
rpc Loading commit data...
tests Loading commit data...
trie Loading commit data...
whisper Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...

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.