590c99a98f
If the timeout fired (even just nanoseconds) before the deadline of the next pending reply, the timer was not rescheduled. The timer would've been rescheduled anyway once the next packet was sent, but there were cases where no next packet could ever be sent due to the locking issue fixed in the previous commit. As timing-related bugs go, this issue had been present for a long time and I could never reproduce it. The test added in this commit did reproduce the issue on about one out of 15 runs. |
||
---|---|---|
_data | ||
accounts | ||
build | ||
cmd | ||
common | ||
compression/rle | ||
core | ||
crypto | ||
docker | ||
errs | ||
eth | ||
ethdb | ||
event | ||
fdtrack | ||
generators | ||
Godeps | ||
jsre | ||
logger | ||
metrics | ||
miner | ||
p2p | ||
params | ||
pow | ||
rlp | ||
rpc | ||
tests | ||
trie | ||
whisper | ||
xeth | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
AUTHORS | ||
COPYING | ||
COPYING.LESSER | ||
Makefile | ||
README.md |
Ethereum Go
Ethereum Go Client, by Jeffrey Wilcke (and some other people).
| Linux | OSX | ARM | Windows | Tests
----------|---------|-----|-----|---------|------ develop | | | | | master | | | | |
![Stories in Progress](https://badge.waffle.io/ethereum/go-ethereum.svg?label=in%20progress&title=In Progress)
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 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:
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:/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" | disasm
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.