Go to file
Felix Lange 6c73a59806 eth: limit number of sent transactions based on message size
Nodes that are out of sync will queue many transactions, which causes
the initial transactions message to grow very large. Larger transactions
messages can make communication impossible if the message is too big to
send. Big transactions messages also exhaust egress bandwidth, which
degrades other peer connections.

The new approach to combat these issues is to send transactions in
smaller batches. This commit introduces a new goroutine that handles
delivery of all initial transaction transfers. Size-limited packs of
transactions are sent to one peer at a time, conserving precious egress
bandwidth.
2015-06-09 17:07:10 +02:00
Godeps Godeps: update github.com/huin/goupnp to 5cff77a69fb22f5 2015-06-04 22:25:43 +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 Merge pull request #1193 from tgerring/hotbackup 2015-06-08 16:32:38 -07:00
common skip sol on new compiler 2015-06-09 15:19:20 +02:00
compression/rle update imports order per goimports 2014-11-15 20:21:55 -06:00
core core/types: add Transaction.Size 2015-06-09 17:06:31 +02:00
crypto crypto: return common.Address rather than raw bytes 2015-06-04 19:28:39 +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: limit number of sent transactions based on message size 2015-06-09 17:07:10 +02:00
ethdb common, ethdb: removed caching and LastTD 2015-05-27 18:03:16 +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
jsre jsre: print function arguments too 2015-06-09 17:23:44 +03:00
logger miner: moved bad uncle logging to ridiculous log level. Closes #720 2015-04-15 12:12:20 +02:00
miner crash fix: skip deep log if self.chain is not caught up 2015-06-08 11:49:59 -07:00
p2p p2p: fix close data race 2015-06-09 16:12:24 +03: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 Merge pull request #1217 from tgerring/rpcsign 2015-06-09 06:19:39 -07:00
tests Skip BlockTests/bcValidBlockTests SimpleTx3 2015-06-09 15:53:31 +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 Differentiate between 0 and unspecified gas/gasprice 2015-06-09 08:13:25 -04: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 Fixed readme links and description 2015-06-09 13:45:35 +02:00
update-license.go fixed identing 2015-05-12 15:23:19 +02:00

README.md

Ethereum Go

Ethereum Go Client © 2014 Jeffrey Wilcke.

      | Linux   | OSX | ARM | Windows | Tests

----------|---------|-----|-----|---------|------ develop | Build+Status | Build+Status | Build+Status | Build+Status | Buildr+Status Coverage Status master | Build+Status | 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 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:

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