diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-01-18 12:21:18 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-01-18 12:24:01 +0100 |
| commit | e4e77ee55d8a041ab9922879522856f5f7903c58 (patch) | |
| tree | 4b42369f98813f2dc7d0d2739cb577ff555d93ae /src/rpcblockchain.cpp | |
| parent | Merge pull request #7232 (diff) | |
| parent | Add RPC tests for getblockheader. (diff) | |
| download | discoin-e4e77ee55d8a041ab9922879522856f5f7903c58.tar.xz discoin-e4e77ee55d8a041ab9922879522856f5f7903c58.zip | |
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/rpcblockchain.cpp')
| -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 82fe8fdb1..954441d15 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" |