diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-10-13 17:37:02 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-10-13 17:41:28 +0200 |
commit | 9269d0e96e621a6e02da8074785ac310ce64db73 (patch) | |
tree | 9707084615745ee0e8a929b220e3588cdaf47e9b /src/bitcoinrpc.h | |
parent | c74b6c3d8fcc1750fa0861ae851b353a7f3495d2 (diff) | |
parent | 971bb3e901aad5d4f04a651e3e2a75161d3a4e2a (diff) |
Merge pull request #2937
971bb3e Added ping time measurement. New RPC "ping" command to request ping. Implemented "pong" message handler. New "pingtime" field in getpeerinfo, to provide results to user. New "pingwait" field, to show pings still in flight, to better see newly lagging peers. (Josh Lehan)
Diffstat (limited to 'src/bitcoinrpc.h')
-rw-r--r-- | src/bitcoinrpc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h index ce1c0e68b7..f495870b38 100644 --- a/src/bitcoinrpc.h +++ b/src/bitcoinrpc.h @@ -153,6 +153,7 @@ extern void EnsureWalletIsUnlocked(); extern json_spirit::Value getconnectioncount(const json_spirit::Array& params, bool fHelp); // in rpcnet.cpp extern json_spirit::Value getpeerinfo(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value ping(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value addnode(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getaddednodeinfo(const json_spirit::Array& params, bool fHelp); |