The RandomWalk component uses the libp2p peer routing to find arbitrary network peers. Consumers may then dial these peers, causing the Identify protocol to run and any registered topologies to be notified of their supported protocols.

interface RandomWalk {
    walk(options?): AsyncGenerator<PeerInfo, any, unknown>;
}

Methods

Methods