-
Notifications
You must be signed in to change notification settings - Fork 197
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
Consensus dependent antiflood parameters #1839
Consensus dependent antiflood parameters #1839
Conversation
iulianpascalau
commented
Jun 1, 2020
- added flood preventer adapting values capability against consensus size
basePeerMaxMessagesPerInterval := mainConfig.Antiflood.PeerMaxOutput.BaseMessagesPerInterval | ||
peerMaxTotalSizePerInterval := mainConfig.Antiflood.PeerMaxOutput.TotalSizePerInterval | ||
arg := floodPreventers.ArgQuotaFloodPreventer{ | ||
Name: "output", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
magic string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
process/throttle/antiflood/floodPreventers/quotaFloodPreventer.go
Outdated
Show resolved
Hide resolved
…ter usage of the sync.RWMutex
ade7f73
to
ef4ddce
Compare
…arameters # Conflicts: # process/throttle/antiflood/floodPreventers/quotaFloodPreventer.go # process/throttle/antiflood/floodPreventers/quotaFloodPreventer_test.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System tests passed.