interface TransportTestFixtures {
    dialAddrs?: [Multiaddr, Multiaddr];
    dialMultiaddrMatcher: MultiaddrMatcher;
    dialer: Libp2pInit<ServiceMap>;
    listenMultiaddrMatcher: MultiaddrMatcher;
    listener?: Libp2pInit<ServiceMap>;
}

Properties

dialAddrs?: [Multiaddr, Multiaddr]

Addresses that will be used to dial listeners - both addresses must resolve to the same node

dialMultiaddrMatcher: MultiaddrMatcher

Filter out any addresses that cannot be dialed by the transport

Config that creates a libp2p node that can dial a listener

listenMultiaddrMatcher: MultiaddrMatcher

Filter out any addresses that cannot be listened on by the transport

Config that creates a libp2p node that can accept dials