Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EN-6710 antiflood blocks consensus fix #1895

Merged
merged 7 commits into from
Jun 9, 2020

Conversation

iulianpascalau
Copy link
Contributor

@iulianpascalau iulianpascalau commented Jun 9, 2020

  • changed peerMaxMessagesPerSec to 5 in order to avoid consensus topic being block by the topic flood preventer component
  • tweaked antiflood parameters
  • added sequence number in antiflood debug lines

@iulianpascalau iulianpascalau added the type:bug Something isn't working label Jun 9, 2020
@iulianpascalau iulianpascalau self-assigned this Jun 9, 2020
sasurobert
sasurobert previously approved these changes Jun 9, 2020
bogdan-rosianu
bogdan-rosianu previously approved these changes Jun 9, 2020
sasurobert
sasurobert previously approved these changes Jun 9, 2020
@@ -5,7 +5,17 @@ import (
"github.com/ElrondNetwork/elrond-go/consensus/spos"
)

const peerMaxMessagesPerSec = uint32(2)
// peerMaxMessagesPerSec defines how many messages can be propagated by a pid in a round. The value was chosen by
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@LucianMincu LucianMincu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ongoing system tests and extra measurements required.

@LucianMincu LucianMincu merged commit a6e14df into release-candidate Jun 9, 2020
@LucianMincu LucianMincu deleted the EN-6710-antiflood-blocks-consensus branch June 9, 2020 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants