interceptAddrDial abstract method

bool interceptAddrDial(
  1. PeerId peerId,
  2. MultiAddr addr
)

Tests whether we're permitted to dial the specified multiaddr for the given peer.

This is called by the network implementation after it has resolved the peer's addrs, and prior to dialling each.

Implementation

bool interceptAddrDial(PeerId peerId, MultiAddr addr);