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

Remove libp2p connection manager when create host #276

Open
ping-ke opened this issue Apr 16, 2024 · 0 comments
Open

Remove libp2p connection manager when create host #276

ping-ke opened this issue Apr 16, 2024 · 0 comments
Assignees

Comments

@ping-ke
Copy link
Collaborator

ping-ke commented Apr 16, 2024

Rationale

Currently, we use libp2p connection manager and maxPeers to control the peer count of es-node, but these two are duplicated, we can use one of them to control the peer count (like prysm used max Peers, and op used connection manager)

Implementation

investigate prysm, remove libp2p connection manager and use max peers to control the peer count, as we have our logic to decide whether we need the new peer or not.

@ping-ke ping-ke added the enhancement New feature or request label Apr 16, 2024
@ping-ke ping-ke self-assigned this Apr 16, 2024
@qzhodl qzhodl removed the enhancement New feature or request label Oct 29, 2024
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

No branches or pull requests

2 participants