Implement RPC shield_coinbase #2448.

This commit is contained in:
Simon
2017-09-15 12:59:27 -07:00
parent 446c49b047
commit 06c19063bb
12 changed files with 1161 additions and 90 deletions

View File

@@ -386,6 +386,7 @@ static const CRPCCommand vRPCCommands[] =
{ "wallet", "z_getbalance", &z_getbalance, false },
{ "wallet", "z_gettotalbalance", &z_gettotalbalance, false },
{ "wallet", "z_sendmany", &z_sendmany, false },
{ "wallet", "z_shieldcoinbase", &z_shieldcoinbase, false },
{ "wallet", "z_getoperationstatus", &z_getoperationstatus, true },
{ "wallet", "z_getoperationresult", &z_getoperationresult, true },
{ "wallet", "z_listoperationids", &z_listoperationids, true },
@@ -426,7 +427,7 @@ bool StartRPC()
// Launch one async rpc worker. The ability to launch multiple workers is not recommended at present and thus the option is disabled.
getAsyncRPCQueue()->addWorker();
/*
/*
int n = GetArg("-rpcasyncthreads", 1);
if (n<1) {
LogPrintf("ERROR: Invalid value %d for -rpcasyncthreads. Must be at least 1.\n", n);