Function selectRandomPeer

  • Returns a pseudo-random peer that supports the given protocol. Useful for protocols such as store and light push

    Parameters

    • peers: Peer[]

    Returns Peer | undefined

Generated using TypeDoc