diff --git a/CHANGELOG.md b/CHANGELOG.md index 62341d56d3..94c00f64da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Changelog +## v1.5.12 +### BUGFIX +[\#3057](https://github.com/bnb-chain/bsc/pull/3057) eth/protocols/bsc: adjust vote reception limit + ## v1.5.11 ### FEATURE [\#3008](https://github.com/bnb-chain/bsc/pull/3008) params: add MaxwellTime 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) diff --git a/version/version.go b/version/version.go index 8e6d3fde67..c3ebcce2cb 100644 --- a/version/version.go +++ b/version/version.go @@ -19,6 +19,6 @@ package version const ( Major = 1 // Major version component of the current release Minor = 5 // Minor version component of the current release - Patch = 11 // Patch version component of the current release + Patch = 12 // Patch version component of the current release Meta = "" // Version metadata to append to the version string )