Browse Source

Merge pull request #5400

32b93a1 Extra explanation for getchaintips (Pieter Wuille)
0.10
Wladimir J. van der Laan 10 years ago
parent
commit
133344208c
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 6
      src/rpcblockchain.cpp

6
src/rpcblockchain.cpp

@ -505,6 +505,12 @@ Value getchaintips(const Array& params, bool fHelp) @@ -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", "")

Loading…
Cancel
Save