Skip to content

Conversation

@Davidson-Souza
Copy link
Member

Banning a peer at the first time they misbehave (e.g. timeout a request) might be overaggressive, and lead to us being depleted of utreexo peers.

This commit adds a banscore system. Every time a peer misbehaves we increase that score. If it reaches a certain value, we ban them.

Banning a peer at the first time they misbehave (e.g. timeout a request)
might be overaggressive, and lead to us being depleted of utreexo peers.

This commit adds a banscore system. Every time a peer misbehaves we
increase that score. If it reaches a certain value, we ban them.
@Davidson-Souza Davidson-Souza force-pushed the fix/dont-disconnect-on-first-timeout branch from 07313ec to b395650 Compare January 3, 2024 20:09
@Davidson-Souza Davidson-Souza merged commit 9661889 into master Jan 3, 2024
@Davidson-Souza Davidson-Souza deleted the fix/dont-disconnect-on-first-timeout branch January 8, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants