mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-28 14:55:22 +02:00
Add documentation for hardfork
This commit is contained in:
@@ -679,6 +679,20 @@ UniValue getblockchaininfo(const UniValue& params, bool fHelp)
|
||||
" \"reject\": { ... } (object) progress toward rejecting pre-softfork blocks (same fields as \"enforce\")\n"
|
||||
" }, ...\n"
|
||||
" ]\n"
|
||||
" \"hardforks\": [ (array) status of hardforks in progress\n"
|
||||
" {\n"
|
||||
" \"id\": \"xxxx\", (string) name of hardfork\n"
|
||||
" \"version\": xx, (numeric) block version\n"
|
||||
" \"status\": { (object) status of the hardfork\n"
|
||||
" \"triggeredatblock\": \"xx\", (string) hash for the block where triggering conditions were met\n"
|
||||
" \"earliestforktime\": xx, (numeric) lowest timestamp (seconds since Epoch) for which new blocks will be accepted \n"
|
||||
" \"found\": xx, (numeric) number of blocks with the new version found\n"
|
||||
" \"required\": xx, (numeric) number of blocks required to trigger\n"
|
||||
" \"window\": xx, (numeric) maximum size of examined window of recent blocks\n"
|
||||
" },\n"
|
||||
" \"reject\": { ... } (object) progress toward rejecting pre-softfork blocks (same fields as \"enforce\")\n"
|
||||
" }, ...\n"
|
||||
" ]\n"
|
||||
"}\n"
|
||||
"\nExamples:\n"
|
||||
+ HelpExampleCli("getblockchaininfo", "")
|
||||
|
||||
Reference in New Issue
Block a user