nimiq_rpc/network
Functions
pub fn get_peer_count(
client: Subject(Message),
) -> Result(Int, String)
Returns the number of peers.
pub fn get_peer_id(
client: Subject(Message),
) -> Result(String, String)
Returns the peer ID for our local peer.
pub fn get_peer_list(
client: Subject(Message),
) -> Result(List(String), String)
Returns a list with the IDs of all our peers.