diff options
author | James O'Beirne <james.obeirne@gmail.com> | 2015-12-09 09:02:19 -0800 |
---|---|---|
committer | James O'Beirne <james.obeirne@gmail.com> | 2015-12-14 10:40:15 -0800 |
commit | 4745636126d9a4f28f701f701be392779815a7bf (patch) | |
tree | 7075f9d3fc16e3dd959fd356ad3f3fbf439fc64c /src | |
parent | 16d4fce0b203bdaa679ad5b3f1e6b6f46880d5d2 (diff) |
Add RPC documentation for getblockheader[chainwork].
Diffstat (limited to 'src')
-rw-r--r-- | src/rpcblockchain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index ee04636ce8..28c2db4501 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -323,7 +323,8 @@ UniValue getblockheader(const UniValue& params, bool fHelp) " \"bits\" : \"1d00ffff\", (string) The bits\n" " \"difficulty\" : x.xxx, (numeric) The difficulty\n" " \"previousblockhash\" : \"hash\", (string) The hash of the previous block\n" - " \"nextblockhash\" : \"hash\" (string) The hash of the next block\n" + " \"nextblockhash\" : \"hash\", (string) The hash of the next block\n" + " \"chainwork\" : \"0000...1f3\" (string) Expected number of hashes required to produce the current chain (in hex)\n" "}\n" "\nResult (for verbose=false):\n" "\"data\" (string) A string that is serialized, hex-encoded data for block 'hash'.\n" |