Skip to content

Remove libp2p connection manager when create host #276

@ping-ke

Description

@ping-ke

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions