Decrease peer reputation on each block sync request to avoid spam #3941
Labels
S-network
issues related to the dot/network package.
T-security
this issue/pr covers security sensitive problem.
Issue summary
While syncing I notice that Gossamer node was receiving a lot of block sync requests for repeated block numbers, block sync requests are meant to peers retrieve blocks from other peers in the network, however, as shown in the below image, the Gossamer host was receiving the same message
After logging the remote peer id per request we noticed that is a single remote peer that is making this huge amount of requests
The text was updated successfully, but these errors were encountered: