aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-07-02 18:53:09 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-07-02 18:53:18 +0200
commit726e28643c565de474b21d57eb4b7d605e4bd3cd (patch)
treed9d16eaf7ae3486fd01eb0258d7d924a624ecdb9 /src/rpcserver.cpp
parent60abba12fff6f5dce2a3222912f64343f0de29a1 (diff)
parent076badb60f33f0c32b035de220ca14c52a423a2a (diff)
Merge pull request #6247
076badb Add getblockheader RPC call (Peter Todd)
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index 840bf57c21..13b8661c65 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -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 },