aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2014-03-10 13:37:03 -0400
committerJeff Garzik <jgarzik@bitpay.com>2014-03-10 13:37:03 -0400
commita63f8b7b36e39722024a0ba061ca214f00a8f1bd (patch)
treea3f9c676ca26c1b6271740fa2422d303f96d9893 /src/rpcserver.cpp
parent0ffd87f1c13662c39366e8b2a9b37e08cf8aa185 (diff)
parenta00ebb51176d229683d36cd02a8a26fd63a471a8 (diff)
Merge pull request #3717 from djpnewton/wallet-txcount
add getwalletinfo RPC call with wallet transaction count
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index 0c29e1d5f3..2c0cdd345f 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -295,6 +295,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 },