1440f9a37a
The most visible change is event-based dialing, which should be an improvement over the timer-based system that we have at the moment. The dialer gets a chance to compute new tasks whenever peers change or dials complete. This is better than checking peers on a timer because dials happen faster. The dialer can now make more precise decisions about whom to dial based on the peer set and we can test those decisions without actually opening any sockets. Peer management is easier to test because the tests can inject connections at checkpoints (after enc handshake, after protocol handshake). Most of the handshake stuff is now part of the RLPx code. It could be exported or move to its own package because it is no longer entangled with Server logic. |
||
---|---|---|
_data | ||
accounts | ||
build | ||
cmd | ||
common | ||
compression/rle | ||
core | ||
crypto | ||
docker | ||
errs | ||
eth | ||
ethdb | ||
event | ||
generators | ||
Godeps | ||
jsre | ||
logger | ||
miner | ||
p2p | ||
params | ||
pow | ||
rlp | ||
rpc | ||
tests | ||
trie | ||
ui | ||
whisper | ||
xeth | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
LICENSE | ||
Makefile | ||
README.md | ||
update-license.go |
Ethereum Go
Ethereum Go Client © 2014 Jeffrey Wilcke.
| Linux | OSX | Windows | Tests
----------|---------|-----|---------|------ develop | | | | master | | | |
![Stories in Progress](https://badge.waffle.io/ethereum/go-ethereum.svg?label=in%20progress&title=In Progress)
Automated (dev) builds
- Docker
- OS X
- Ubuntu trusty | utopic
- Windows 64-bit
Building the source
For prerequisites and detailed build instructions please read the Installation Instructions on the wiki.
Building geth requires two external dependencies, Go and GMP. 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:
mist
Official Ethereum Browser (ethereum GUI client)geth
Ethereum CLI (ethereum command line interface client)bootnode
runs a bootstrap node for the Discovery Protocolethtest
test tool which runs with the tests suite:cat file | ethtest
.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" | disasm
rlpdump
prints RLP structures
Command line options
Both mist
and 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.