• Felix Lange's avatar
    eth: limit number of sent transactions based on message size · 6c73a598
    Felix Lange authored
    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.
    6c73a598
Name
Last commit
Last update
Godeps Loading commit data...
_data Loading commit data...
accounts Loading commit data...
build Loading commit data...
cmd Loading commit data...
common Loading commit data...
compression/rle Loading commit data...
core Loading commit data...
crypto Loading commit data...
docker Loading commit data...
errs Loading commit data...
eth Loading commit data...
ethdb Loading commit data...
event Loading commit data...
generators Loading commit data...
jsre Loading commit data...
logger Loading commit data...
miner Loading commit data...
p2p Loading commit data...
params Loading commit data...
pow Loading commit data...
rlp Loading commit data...
rpc Loading commit data...
tests Loading commit data...
trie Loading commit data...
ui Loading commit data...
whisper Loading commit data...
xeth Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
update-license.go Loading commit data...