Fork of plugeth with any needed changes for statediff plugin
Go to file
Felix Lange 1440f9a37a p2p: new dialer, peer management without locks
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.
2015-05-25 01:17:14 +02:00
_data Chain tests 2014-12-30 15:42:26 +01:00
accounts Introduced default unlock duration when an account is unlocked from the console 2015-05-14 14:25:48 +02:00
build Use Makefile for Travis tests 2015-04-29 02:13:37 +02:00
cmd make registrar available in console 2015-05-22 09:13:45 +02:00
common multiple contract source for solidity compiler: returns contract array if multiple contracts. fixes #1023 2015-05-20 04:11:48 +01:00
compression/rle update imports order per goimports 2014-11-15 20:21:55 -06:00
core core/vm, rpc: added disasm to ext_ RPC 2015-05-22 15:38:46 +02:00
crypto Update keystore code comments 2015-05-13 18:33:31 +02:00
docker Revert "Revert "refactor Dockerfile"" 2015-04-22 21:35:46 +02:00
errs blockpool stability fixes: 2015-04-13 13:13:55 +01:00
eth eth: stop p2p.Server on shutdown 2015-05-25 01:17:14 +02:00
ethdb ethdb: documentation and corruption recovery 2015-05-21 11:43:05 +02:00
event xeth, core, event/filter, rpc: new block and transaction filters 2015-05-07 14:44:32 +02:00
generators replaced several path.* with filepath.* which is platform independent 2015-05-12 14:24:11 +02:00
Godeps Godeps: add github.com/davecgh/go-spew 2015-05-25 01:17:14 +02:00
jsre update web3.js to 0.4.2 2015-05-20 02:58:49 +01:00
logger miner: moved bad uncle logging to ridiculous log level. Closes #720 2015-04-15 12:12:20 +02:00
miner miner: moved break INSIDE the switch ... 2015-05-21 19:53:27 +02:00
p2p p2p: new dialer, peer management without locks 2015-05-25 01:17:14 +02:00
params Read most protocol params from common/params.json 2015-04-02 06:22:32 +02:00
pow Integrate new ethash API and change geth makedag cmd 2015-05-05 08:24:15 +02:00
rlp rlp: fix list bounds check overflow (found by go-fuzz) 2015-04-28 10:28:15 +02:00
rpc core/vm, rpc: added disasm to ext_ RPC 2015-05-22 15:38:46 +02:00
tests Add StateTests/RandomTests and VMTests/RandomTests 2015-05-21 23:04:46 +02:00
trie Secure trie shakey / key matching 2015-03-24 15:14:03 +01:00
ui ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcards 2015-04-28 10:49:04 +03:00
whisper p2p, whisper: use glog for peer-level logging 2015-05-06 23:19:14 +02:00
xeth prefix dapp key/value entries in extradb 2015-05-21 15:20:38 +02:00
.gitignore updated ignore 2015-05-07 00:03:11 +02:00
.gitmodules cmd/geth, jsre: updated ethereum.js => web3.js 2015-04-24 11:37:58 +02:00
.mailmap General repo cleanup 2015-03-30 09:18:22 +02:00
.travis.yml Use Makefile for Travis tests 2015-04-29 02:13:37 +02:00
LICENSE MIT -> LGPL 2014-08-21 15:43:14 +02:00
Makefile Use Makefile for Travis tests 2015-04-29 02:13:37 +02:00
README.md README: simplify build instructions 2015-04-29 02:13:35 +02:00
update-license.go fixed identing 2015-05-12 15:23:19 +02:00

Ethereum Go

Ethereum Go Client © 2014 Jeffrey Wilcke.

      | Linux   | OSX | Windows | Tests

----------|---------|-----|---------|------ develop | Build+Status | Build+Status | Build+Status | Buildr+Status Coverage Status master | Build+Status | Build+Status | Build+Status | Buildr+Status Coverage Status

Bugs Stories in Ready ![Stories in Progress](https://badge.waffle.io/ethereum/go-ethereum.svg?label=in%20progress&title=In Progress) Gitter

Automated (dev) builds

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 Protocol
  • ethtest 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.