mev-commit-p2p icon indicating copy to clipboard operation
mev-commit-p2p copied to clipboard

Add blocklisting and connection gating

Open aloknerurkar opened this issue 1 year ago • 2 comments

  • 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.

aloknerurkar avatar Sep 27 '23 15:09 aloknerurkar