Closed raychu86 closed 5 months ago
This PR adds 2 changes:
inbound_block_requests
PeerRefresh
Note: The current rate limit is quite generous at 256 block requests every 60 seconds.
Motivation
This PR adds 2 changes:
inbound_block_requests
to limit the number of block requests a node can send every minute.PeerRefresh
on peers that are syncing from you or if you are syncing from that peer.Note: The current rate limit is quite generous at 256 block requests every 60 seconds.