diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-12-01 20:48:50 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-12-01 20:48:50 +0100 |
commit | 32b93a1bc2795ed2bc3a8d3d911d54f023d1ad54 (patch) | |
tree | 3186ae06e06a080e927a45f7369cddfb9d5a7a15 /src | |
parent | 7026cbd6db0432e27dd3505fa0d0a167fd319db2 (diff) |
Extra explanation for getchaintips
Diffstat (limited to 'src')
-rw-r--r-- | src/rpcblockchain.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 045cd90ef6..924f416904 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -505,6 +505,12 @@ Value getchaintips(const Array& params, bool fHelp) " \"status\": \"xxxx\" (string) status of the chain (active, valid-fork, valid-headers, headers-only, invalid)\n" " }\n" "]\n" + "Possible values for status:\n" + "1. \"invalid\" This branch contains at least one invalid block\n" + "2. \"headers-only\" Not all blocks for this branch are available, but the headers are valid\n" + "3. \"valid-headers\" All blocks are available for this branch, but they were never fully validated\n" + "4. \"valid-fork\" This branch is not part of the active chain, but is fully validated\n" + "5. \"active\" This is the tip of the active main chain, which is certainly valid\n" "\nExamples:\n" + HelpExampleCli("getchaintips", "") + HelpExampleRpc("getchaintips", "") |