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

@@ -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);