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

fix: Do not connect to banned peers #313

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

aszepieniec
Copy link
Contributor

Fixes an inclusion error on a bounds test, resulting in peers in poor standing successfully establishing a connection.

An off-by-inclusion error caused peers that should have been banned
based on poor standing to successfully accept connections. The fix
involves including the lower bound on the standing in the standing
test.

Also: improve some log messages.

Closes #301.
@aszepieniec aszepieniec force-pushed the asz/301_fix-le-leq-error branch from 0565d73 to 0034f66 Compare January 6, 2025 21:29
@aszepieniec aszepieniec merged commit 5c35dc1 into master Jan 7, 2025
8 checks passed
@aszepieniec aszepieniec deleted the asz/301_fix-le-leq-error branch January 7, 2025 10:27
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.

1 participant