rpc: Register calls where they are defined

This commit is contained in:
Wladimir J. van der Laan
2016-03-29 19:43:02 +02:00
committed by lateminer
parent 36888feaff
commit b460adbab0
15 changed files with 178 additions and 162 deletions

View File

@@ -272,6 +272,9 @@ static bool rest_block_notxdetails(HTTPRequest* req, const std::string& strURIPa
return rest_block(req, strURIPart, false);
}
// A bit of a hack - dependency on a function defined in rpc/blockchain.cpp
UniValue getblockchaininfo(const UniValue& params, bool fHelp);
static bool rest_chaininfo(HTTPRequest* req, const std::string& strURIPart)
{
if (!CheckWarmup(req))