Requests that a ping be sent to all other nodes, to measure ping time. Results provided in getpeerinfo, pingtime and pingwait fields are decimal seconds. Ping command is handled in queue with all other commands, so it measures processing backlog, not just network ping.
ping(con)
A S4-object of class ANSRPC
.
object of class CONRPC
.
Bernhard Pfaff
https://bitcoin.org/en/developer-reference#ping, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs
Other Network RPCs:
addnode()
,
clearbanned()
,
disconnectnode()
,
getaddednodeinfo()
,
getconnectioncount()
,
getnettotals()
,
getnetworkinfo()
,
getpeerinfo()
,
listbanned()