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
This commit is contained in:
Daniel Newton
2014-02-21 17:56:04 +13:00
parent 76a77059f3
commit a00ebb5117
3 changed files with 34 additions and 0 deletions

View File

@@ -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 },