aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.h
diff options
context:
space:
mode:
authorDaniel Newton <djpnewton@gmail.com>2014-02-21 17:56:04 +1300
committerDaniel Newton <djpnewton@gmail.com>2014-02-27 14:46:58 +1300
commita00ebb51176d229683d36cd02a8a26fd63a471a8 (patch)
tree232ce156ee2f27917e4e4af3bbc1071e17b9f959 /src/rpcserver.h
parent76a77059f361f3c700a550c11adf567bafebbd00 (diff)
downloadbitcoin-a00ebb51176d229683d36cd02a8a26fd63a471a8.tar.xz
move wallet info stuff to "getwalletinfo" rpc (left original wallet
stuff in getinfo call for backwards compatibility) add wallet transaction count to getwalletinfo rpc call
Diffstat (limited to 'src/rpcserver.h')
-rw-r--r--src/rpcserver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h
index 0dd583c8eb..ea03c09bf6 100644
--- a/src/rpcserver.h
+++ b/src/rpcserver.h
@@ -163,6 +163,7 @@ extern json_spirit::Value walletlock(const json_spirit::Array& params, bool fHel
extern json_spirit::Value encryptwallet(const json_spirit::Array& params, bool fHelp);
extern json_spirit::Value validateaddress(const json_spirit::Array& params, bool fHelp);
extern json_spirit::Value getinfo(const json_spirit::Array& params, bool fHelp);
+extern json_spirit::Value getwalletinfo(const json_spirit::Array& params, bool fHelp);
extern json_spirit::Value getrawtransaction(const json_spirit::Array& params, bool fHelp); // in rcprawtransaction.cpp
extern json_spirit::Value listunspent(const json_spirit::Array& params, bool fHelp);