Add z_getbalance and z_gettotalbalance RPC calls to close #1201.

This commit is contained in:
Simon
2016-09-06 15:15:33 -07:00
parent cff6f0ac46
commit a0a3334c4d
4 changed files with 222 additions and 0 deletions

View File

@@ -385,6 +385,8 @@ static const CRPCCommand vRPCCommands[] =
{ "wallet", "zcrawjoinsplit", &zc_raw_joinsplit, true },
{ "wallet", "zcrawreceive", &zc_raw_receive, true },
{ "wallet", "zcsamplejoinsplit", &zc_sample_joinsplit, true },
{ "wallet", "z_getbalance", &z_getbalance, false },
{ "wallet", "z_gettotalbalance", &z_gettotalbalance, false },
{ "wallet", "z_sendmany", &z_sendmany, true },
{ "wallet", "z_getoperationstatus", &z_getoperationstatus, true },
{ "wallet", "z_getoperationresult", &z_getoperationresult, true },