rise_elixir v0.1.0 RiseElixir.Peers

Functions for retrieving information about peers.

Summary

Functions

Get peers list

Get peer by ip, port

Get connected, disconnected, banned peer count

Get build, minVersion, version of the peer

Functions

get(args)

Get peers list.

Method: GET

RiseElixir.Peers.get()

=> { success, peers }

get_peer(args)

Get peer by ip, port.

Method: GET

RiseElixir.Peers.get_peer(%{ip: string, port: number})

=> { success, peers }

get_peers_count()

Get connected, disconnected, banned peer count.

Method: GET

RiseElixir.Peers.get_peers_count()

=> { success, connected, disconnected, banned }

get_version()

Get build, minVersion, version of the peer.

Method: GET

RiseElixir.Peers.get_version()

=> { success, build, minVersion, version }