Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo

This commit is contained in:
Jack Grigg
2016-10-25 13:11:41 -07:00
parent 54218ea05c
commit 000499ae64
8 changed files with 116 additions and 12 deletions

View File

@@ -304,6 +304,8 @@ static const CRPCCommand vRPCCommands[] =
/* Mining */
{ "mining", "getblocktemplate", &getblocktemplate, true },
{ "mining", "getmininginfo", &getmininginfo, true },
{ "mining", "getlocalsolps", &getlocalsolps, true },
{ "mining", "getnetworksolps", &getnetworksolps, true },
{ "mining", "getnetworkhashps", &getnetworkhashps, true },
{ "mining", "prioritisetransaction", &prioritisetransaction, true },
{ "mining", "submitblock", &submitblock, true },