diff --git a/eth/protocols/bsc/peer.go b/eth/protocols/bsc/peer.go index c6c09026e8..0c19a3d622 100644 --- a/eth/protocols/bsc/peer.go +++ b/eth/protocols/bsc/peer.go @@ -21,8 +21,8 @@ const ( // used to avoid of DDOS attack // It's the max number of received votes per second from one peer // 21 validators exist now, so 21 votes will be produced every one block interval - // so the limit is 7 = 21/3, here set it to 10 with a buffer. - receiveRateLimitPerSecond = 10 + // so the limit is 28 = 21/0.75, here set it to 40 with a buffer. + receiveRateLimitPerSecond = 40 // the time span of one period secondsPerPeriod = float64(30)