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

getConnectedPeers

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

Queries for the list of peers the instance is connected to.

Return
AsyncResult<MutableList<Peer!>!>!: a handle to seeing all peers