6c73a59806
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. |
||
---|---|---|
.. | ||
downloader | ||
backend.go | ||
handler.go | ||
peer.go | ||
protocol_test.go | ||
protocol.go | ||
sync.go |