tuweni / org.apache.tuweni.scuttlebutt.lib / NetworkService / getAllKnownPeers

getAllKnownPeers

open fun getAllKnownPeers(): AsyncResult<MutableList<Peer!>!>! (source)

Queries for all the peers the instance is aware of in its gossip table.

Return
AsyncResult<MutableList<Peer!>!>!: a handle to the list of all known peers