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

p2p: re-enable conn gater #1221

Open
wants to merge 15 commits into
base: stage
Choose a base branch
from
Open

p2p: re-enable conn gater #1221

wants to merge 15 commits into from

Conversation

MatusKysel
Copy link
Contributor

@MatusKysel MatusKysel commented Nov 29, 2023

It primarily aims to reintroduce the connection gater with improvements. This includes adding features like blacklisting, modifying tests for better functionality, re-enabling score reporting to peer indexers, and addressing various bugs and issues.

if n.idx == nil {
return false
}
if n.idx.Limit(libp2pnetwork.DirOutbound) {
Copy link
Contributor

Choose a reason for hiding this comment

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

is this value controlled by the config in #1236 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, by MaxPeers

@MatusKysel MatusKysel marked this pull request as ready for review January 15, 2024 12:31
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.

3 participants