Add getblocksubsidy RPC command to return the block reward for a given

block, taking into account the mining slow start.
This commit is contained in:
Simon
2016-06-27 13:04:33 -07:00
parent 1ea8b00926
commit 1b114e54c4
4 changed files with 29 additions and 1 deletions

View File

@@ -304,6 +304,7 @@ static const CRPCCommand vRPCCommands[] =
{ "mining", "getnetworkhashps", &getnetworkhashps, true },
{ "mining", "prioritisetransaction", &prioritisetransaction, true },
{ "mining", "submitblock", &submitblock, true },
{ "mining", "getblocksubsidy", &getblocksubsidy, true },
#ifdef ENABLE_WALLET
/* Coin generation */