Returns detailed information about each peer currently connected to the node.
Arguments
- conn
A connection object created by
mc_connect.
Value
A data frame (via rpc_res_to_df) with one row per peer.
Common columns include:
- addr
Peer address and port.
- addrlocal
Local address used for the connection.
- services
Services offered.
- lastsend
Last time a message was sent.
- lastrecv
Last time a message was received.
- bytessent
Total bytes sent.
- bytesrecv
Total bytes received.
- conntime
Connection start time.
- pingtime
Ping time (seconds).
- version
Peer's version.
- subver
Peer's subversion string.
- inbound
Whether the peer connected inbound.
See also
mc_ping to measure latency,
mc_get_network_info for node network status.
Other networking:
mc_add_node(),
mc_get_added_node_info(),
mc_get_network_info(),
mc_list_stored_nodes(),
mc_ping(),
mc_store_node()