Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Add blocklisting and connection gating #12

@aloknerurkar

Description

@aloknerurkar
  • Blocklisting can be handled at the libp2p level which makes it transparent for the protocol handlers. This can be done by protocols either returning some specific error which can include reason and time to blocklist. Also, we can have a top-level interface in the libp2p.Service to blocklist with reason and time.
  • Add libp2p.ConnectionGater option. This can use blocklist or other mechanisms to prevent unnecessary protocol traffic on the node.

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