diff options
author | Daniel Newton <djpnewton@gmail.com> | 2014-02-21 17:56:04 +1300 |
---|---|---|
committer | Daniel Newton <djpnewton@gmail.com> | 2014-02-27 14:46:58 +1300 |
commit | a00ebb51176d229683d36cd02a8a26fd63a471a8 (patch) | |
tree | 232ce156ee2f27917e4e4af3bbc1071e17b9f959 /src/rpcserver.cpp | |
parent | 76a77059f361f3c700a550c11adf567bafebbd00 (diff) |
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.cpp')
-rw-r--r-- | src/rpcserver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index 4d110124b2..6138d35fce 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -296,6 +296,7 @@ static const CRPCCommand vRPCCommands[] = { "lockunspent", &lockunspent, false, false, true }, { "listlockunspent", &listlockunspent, false, false, true }, { "settxfee", &settxfee, false, false, true }, + { "getwalletinfo", &getwalletinfo, true, false, true }, /* Wallet-enabled mining */ { "getgenerate", &getgenerate, true, false, false }, |