Hi, is there a feature that libp2p supports for controlling connection between peers? For example, something like blocklist or allowlist, when a peerID in blocklist, my peer doesn’t connect to it.
2 Likes
Let me answer this myself. swarm
has a Filters
features that can Accept
and Deny
dial. But this was in version 0.2.2, in the current master
branch, the Filters
has been removed, and i don’t known why.
UPDATE:
It looks like Filters
has been changed to gater
in version 0.2.4, same topic here Connection whitelisting on an ongoing basis