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

feat: basic PeerBook implementation. #34

Merged
merged 12 commits into from
Feb 27, 2023
Merged

feat: basic PeerBook implementation. #34

merged 12 commits into from
Feb 27, 2023

Conversation

dariusc93
Copy link
Owner

This behaviour will handle storing peer identify info, rtt, as well as a whitelist for the connection limits implementation, which would allow a peer who is whitelisted to bypass such limits and be able to establish a connection.

This implementation will also begin to split apart SwarmAPI to eventually begin the process of deprecating or refactoring it in the future.

This behaviour also utilizes connection limits, based on a behaviour in libp2p PR, which will also allow peers to bypass the limits if they are whitelisted.
Note: This does not provide any form of persistence so any future peers will need to be manually added
@dariusc93 dariusc93 added enhancement New feature or request p:normal Normal Priority labels Feb 26, 2023
@dariusc93 dariusc93 self-assigned this Feb 26, 2023
@dariusc93 dariusc93 marked this pull request as ready for review February 27, 2023 14:55
@dariusc93 dariusc93 merged commit 6e8e82a into libp2p-next Feb 27, 2023
@dariusc93 dariusc93 deleted the feat/peerlimit branch February 27, 2023 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p:normal Normal Priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant