Merge pull request #6247

076badb Add getblockheader RPC call (Peter Todd)
This commit is contained in:
Wladimir J. van der Laan 2015-07-02 18:53:09 +02:00
commit 726e28643c
No known key found for this signature in database
GPG key ID: 74810B012346C9A6
4 changed files with 85 additions and 0 deletions

View file

@ -289,6 +289,7 @@ static const CRPCCommand vRPCCommands[] =
{ "blockchain", "getblockcount", &getblockcount, true },
{ "blockchain", "getblock", &getblock, true },
{ "blockchain", "getblockhash", &getblockhash, true },
{ "blockchain", "getblockheader", &getblockheader, true },
{ "blockchain", "getchaintips", &getchaintips, true },
{ "blockchain", "getdifficulty", &getdifficulty, true },
{ "blockchain", "getmempoolinfo", &getmempoolinfo, true },