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