Go to file
Jeffrey Wilcke 5f0a4416db whisper: fixed broadcast race
Whisper's expire and broadcast loops happen in two separate go routines.
Whenever an envelope is being expired it's removed from the set of
envelopes and it looses all information about the envelope, including
the "known hash". After the envelope has been removed it can be
re-accepted by a broadcasting peer putting back the envelope in the set
of envelopes. Since the envelope broadcast loop is separate of the
expire loop expired messages may be broadcast to other peer, resulting
in messages **never** being dropped.

This PR includes an expire check before adding new messages to the set
of envelopes.
2015-11-25 12:10:47 +01:00
Godeps Merge pull request #1949 from karalabe/update-command-usage 2015-10-30 10:59:36 +01:00
_data Chain tests 2014-12-30 15:42:26 +01:00
accounts accounts/abi: ABI fixes & added types 2015-10-29 21:40:18 +01:00
build all: Add GPU mining, disabled by default 2015-10-07 13:19:30 +02:00
cmd cmd/geth, cmd/utils: removed legalese 2015-11-19 12:03:33 +01:00
common cmd/utils, crypto: add --lightkdf flag for lighter KDF 2015-10-28 18:46:39 +01:00
compression/rle all: fix license headers one more time 2015-07-23 18:35:11 +02:00
core core, eth, miner, xeth: clean up tx/receipt db accessors 2015-11-19 16:03:32 +02:00
crypto crypto/secp256k1: drop pkgsrc paths from CFLAGS 2015-11-17 09:53:10 +01:00
docker update Dockerfile, remove supervisord and unattended-upgrades 2015-10-26 18:06:19 -04:00
errs all: fix license headers one more time 2015-07-23 18:35:11 +02:00
eth Merge pull request #1923 from karalabe/cleanup-receipt-data-access 2015-11-19 15:28:15 +01:00
ethdb core, eth, trie: fix data races and merge/review issues 2015-10-21 16:49:55 +03:00
event event/filter: fix data race in the test 2015-11-05 16:55:53 +02:00
generators all: fix license headers one more time 2015-07-23 18:35:11 +02:00
jsre jsre: fix #1876, sleep too short on a slow test server 2015-11-05 11:36:10 +02:00
logger all: fix license headers one more time 2015-07-23 18:35:11 +02:00
metrics eth, metrics, p2p: prepare metrics and net packets to eth/62 2015-08-21 10:30:57 +03:00
miner core, eth, miner, xeth: clean up tx/receipt db accessors 2015-11-19 16:03:32 +02:00
p2p Merge pull request #1934 from karalabe/polish-protocol-infos 2015-11-04 11:59:31 +01:00
params miner: gas limit strategy, target 3141592 & def gas price 50 Shannon 2015-08-04 15:20:28 +02:00
pow all: Add GPU mining, disabled by default 2015-10-07 13:19:30 +02:00
rlp rlp: move ListSize to raw.go 2015-09-10 19:41:51 +02:00
rpc Merge pull request #1917 from obscuren/validator-interface 2015-11-19 10:57:00 +01:00
tests tests: fix data race in bad-block-report disabling during tests 2015-11-05 13:29:50 +02:00
trie core, eth, trie: fix data races and merge/review issues 2015-10-21 16:49:55 +03:00
whisper whisper: fixed broadcast race 2015-11-25 12:10:47 +01:00
xeth core, eth, miner, xeth: clean up tx/receipt db accessors 2015-11-19 16:03:32 +02:00
.gitattributes .gitattributes: add 2015-08-06 17:18:59 +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 Adjust .mailmap 2015-07-07 11:50:49 -05:00
.travis.yml Codecov integration 2015-08-18 22:46:48 +02:00
AUTHORS all: update license information 2015-07-07 14:12:44 +02:00
CONTRIBUTING.md Updated README, Added CONTRIBUTING 2015-08-18 23:00:15 +02:00
COPYING all: update license information 2015-07-07 14:12:44 +02:00
COPYING.LESSER all: update license information 2015-07-07 14:12:44 +02:00
Makefile makefile: dump mist leftover, add phony targets 2015-10-28 12:34:40 +02:00
README.md Updated README, Added CONTRIBUTING 2015-08-18 23:00:15 +02:00
VERSION VERSION, cmd/geth: bumped version 1.4.0 2015-11-03 11:48:18 +01:00

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

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.