|
|
@ -248,12 +248,14 @@ static const CRPCCommand vRPCCommands[] = |
|
|
|
{ "gettxout", &gettxout, true, false, false }, |
|
|
|
{ "gettxout", &gettxout, true, false, false }, |
|
|
|
{ "verifychain", &verifychain, true, false, false }, |
|
|
|
{ "verifychain", &verifychain, true, false, false }, |
|
|
|
|
|
|
|
|
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
/* Mining */ |
|
|
|
{ "getnetworkhashps", &getnetworkhashps, true, false, false }, |
|
|
|
{ "getnetworkhashps", &getnetworkhashps, true, false, false }, |
|
|
|
{ "getgenerate", &getgenerate, true, false, false }, |
|
|
|
|
|
|
|
{ "setgenerate", &setgenerate, true, true, false }, |
|
|
|
|
|
|
|
{ "gethashespersec", &gethashespersec, true, false, false }, |
|
|
|
|
|
|
|
{ "getmininginfo", &getmininginfo, true, false, false }, |
|
|
|
{ "getmininginfo", &getmininginfo, true, false, false }, |
|
|
|
|
|
|
|
{ "getblocktemplate", &getblocktemplate, true, false, false }, |
|
|
|
|
|
|
|
{ "submitblock", &submitblock, false, false, false }, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
|
|
|
|
/* Wallet */ |
|
|
|
{ "getnewaddress", &getnewaddress, true, false, true }, |
|
|
|
{ "getnewaddress", &getnewaddress, true, false, true }, |
|
|
|
{ "getaccountaddress", &getaccountaddress, true, false, true }, |
|
|
|
{ "getaccountaddress", &getaccountaddress, true, false, true }, |
|
|
|
{ "getrawchangeaddress", &getrawchangeaddress, true, false, true }, |
|
|
|
{ "getrawchangeaddress", &getrawchangeaddress, true, false, true }, |
|
|
@ -283,10 +285,7 @@ static const CRPCCommand vRPCCommands[] = |
|
|
|
{ "listaddressgroupings", &listaddressgroupings, false, false, true }, |
|
|
|
{ "listaddressgroupings", &listaddressgroupings, false, false, true }, |
|
|
|
{ "signmessage", &signmessage, false, false, true }, |
|
|
|
{ "signmessage", &signmessage, false, false, true }, |
|
|
|
{ "verifymessage", &verifymessage, false, false, false }, |
|
|
|
{ "verifymessage", &verifymessage, false, false, false }, |
|
|
|
{ "getwork", &getwork, true, false, true }, |
|
|
|
|
|
|
|
{ "listaccounts", &listaccounts, false, false, true }, |
|
|
|
{ "listaccounts", &listaccounts, false, false, true }, |
|
|
|
{ "getblocktemplate", &getblocktemplate, true, false, false }, |
|
|
|
|
|
|
|
{ "submitblock", &submitblock, false, false, false }, |
|
|
|
|
|
|
|
{ "listsinceblock", &listsinceblock, false, false, true }, |
|
|
|
{ "listsinceblock", &listsinceblock, false, false, true }, |
|
|
|
{ "dumpprivkey", &dumpprivkey, true, false, true }, |
|
|
|
{ "dumpprivkey", &dumpprivkey, true, false, true }, |
|
|
|
{ "dumpwallet", &dumpwallet, true, false, true }, |
|
|
|
{ "dumpwallet", &dumpwallet, true, false, true }, |
|
|
@ -295,6 +294,12 @@ static const CRPCCommand vRPCCommands[] = |
|
|
|
{ "listunspent", &listunspent, false, false, true }, |
|
|
|
{ "listunspent", &listunspent, false, false, true }, |
|
|
|
{ "lockunspent", &lockunspent, false, false, true }, |
|
|
|
{ "lockunspent", &lockunspent, false, false, true }, |
|
|
|
{ "listlockunspent", &listlockunspent, false, false, true }, |
|
|
|
{ "listlockunspent", &listlockunspent, false, false, true }, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Wallet-enabled mining */ |
|
|
|
|
|
|
|
{ "getgenerate", &getgenerate, true, false, false }, |
|
|
|
|
|
|
|
{ "setgenerate", &setgenerate, true, true, false }, |
|
|
|
|
|
|
|
{ "gethashespersec", &gethashespersec, true, false, false }, |
|
|
|
|
|
|
|
{ "getwork", &getwork, true, false, true }, |
|
|
|
#endif // ENABLE_WALLET
|
|
|
|
#endif // ENABLE_WALLET
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|