diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-07-02 18:53:09 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-07-02 18:53:18 +0200 |
commit | 726e28643c565de474b21d57eb4b7d605e4bd3cd (patch) | |
tree | d9d16eaf7ae3486fd01eb0258d7d924a624ecdb9 /src/rpcserver.cpp | |
parent | 60abba12fff6f5dce2a3222912f64343f0de29a1 (diff) | |
parent | 076badb60f33f0c32b035de220ca14c52a423a2a (diff) |
Merge pull request #6247
076badb Add getblockheader RPC call (Peter Todd)
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r-- | src/rpcserver.cpp | 1 |
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 }, |