aboutsummaryrefslogtreecommitdiff
path: root/src/rpcblockchain.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-12-03 10:17:05 +0100
committerWladimir J. van der Laan <[email protected]>2014-12-03 10:17:13 +0100
commit133344208cea60ab690fa4f8353ca8d65d22c90d (patch)
tree155277758634800359543c59306a00d5d7e3acd0 /src/rpcblockchain.cpp
parentMerge pull request #5406 (diff)
parentExtra explanation for getchaintips (diff)
downloaddiscoin-133344208cea60ab690fa4f8353ca8d65d22c90d.tar.xz
discoin-133344208cea60ab690fa4f8353ca8d65d22c90d.zip
Merge pull request #5400
32b93a1 Extra explanation for getchaintips (Pieter Wuille)
Diffstat (limited to 'src/rpcblockchain.cpp')
-rw-r--r--src/rpcblockchain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp
index 045cd90ef..924f41690 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", "")