erigon-pulse/eth
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
..
downloader eth/downloader: test registration rejection on head ban 2015-06-08 15:02:52 +03:00
backend.go core: write accounts to statedb. Closes #1210 2015-06-09 11:37:01 +02:00
handler.go eth: limit number of sent transactions based on message size 2015-06-09 17:07:10 +02:00
peer.go eth: fix data race accessing peer.td 2015-06-09 14:56:27 +03:00
protocol_test.go downloader: don't remove peers. keep them around 2015-04-18 23:56:08 +02:00
protocol.go eth: implement the NewBlockHashes protocol proposal 2015-06-08 18:44:02 +03:00
sync.go eth: limit number of sent transactions based on message size 2015-06-09 17:07:10 +02:00