diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-01-18 12:21:18 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-01-18 12:24:01 +0100 |
commit | e4e77ee55d8a041ab9922879522856f5f7903c58 (patch) | |
tree | 4b42369f98813f2dc7d0d2739cb577ff555d93ae /src | |
parent | ae20172941ff83791a8ae9a858d4f4e70bf9aadb (diff) | |
parent | 135d6ec8cedc83ad800da45080c16d49e9182e80 (diff) |
Merge pull request #7194
135d6ec Add RPC tests for getblockheader. (James O'Beirne)
4745636 Add RPC documentation for getblockheader[chainwork]. (James O'Beirne)
16d4fce Add assert_is_hex_string and assert_is_hash_string to RPC test utils. (James O'Beirne)
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 82fe8fdb1e..954441d15c 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" |