diff options
author | Peter Todd <pete@petertodd.org> | 2015-06-05 17:07:17 -0230 |
---|---|---|
committer | Peter Todd <pete@petertodd.org> | 2015-06-05 17:07:58 -0230 |
commit | 076badb60f33f0c32b035de220ca14c52a423a2a (patch) | |
tree | d77ab151e6e6660013ea675a75ea06e07cae92f4 /src/rpcserver.h | |
parent | ab20ae807961982c54e92675bee4c4000b990b7b (diff) |
Add getblockheader RPC call
Alternative to getblock that works even when the block itself has been
pruned, returning all available information.
Diffstat (limited to 'src/rpcserver.h')
-rw-r--r-- | src/rpcserver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h index 7b462a8b79..2830d9c106 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -229,6 +229,7 @@ extern UniValue settxfee(const UniValue& params, bool fHelp); extern UniValue getmempoolinfo(const UniValue& params, bool fHelp); extern UniValue getrawmempool(const UniValue& params, bool fHelp); extern UniValue getblockhash(const UniValue& params, bool fHelp); +extern UniValue getblockheader(const UniValue& params, bool fHelp); extern UniValue getblock(const UniValue& params, bool fHelp); extern UniValue gettxoutsetinfo(const UniValue& params, bool fHelp); extern UniValue gettxout(const UniValue& params, bool fHelp); |