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

@@ -240,6 +240,8 @@ extern json_spirit::Value getchaintips(const json_spirit::Array& params, bool fH
extern json_spirit::Value invalidateblock(const json_spirit::Array& params, bool fHelp);
extern json_spirit::Value reconsiderblock(const json_spirit::Array& params, bool fHelp);
extern json_spirit::Value getblocksubsidy(const json_spirit::Array& params, bool fHelp);
// in rest.cpp
extern bool HTTPReq_REST(AcceptedConnection *conn,
const std::string& strURI,