Implementation of the Peer Exchange protocol (https://rfc.vac.dev/spec/34/)
Optionaloptions: boolean | AddEventListenerOptions
Optionallistener: null | EventHandler<Libp2pEvents<ServiceMap>[K]>
Optionaloptions: boolean | EventListenerOptions
Retrieves a list of peers based on the specified criteria.
A Promise that resolves to an array of peers based on the specified criteria.
Returns known peers from the address book (
libp2p.peerStore) that support
the class protocol. Waku may or may not be currently connected to these
Generated using TypeDoc