diff --git a/doc/release-notes.md b/doc/release-notes.md --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -8,6 +8,7 @@ - MacOS versions earlier than 10.12 are no longer supported. Additionally, Bitcoin ABC does not yet change appearance when macOS "dark mode" is activated. + - Fixed missing help text in `getblockchaininfo` RPC. New RPC methods ------------ diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1456,7 +1456,46 @@ "pruning is enabled (only present if pruning is enabled)\n" " \"prune_target_size\": xxxxxx, (numeric) the target size " "used by pruning (only present if automatic pruning is enabled)\n" - " \"warnings\" : \"...\", (string) any network and " + " \"softforks\": { (object) status of softforks in " + "progress\n" + " \"xxxx\" : { (string) name of the softfork\n" + " \"type\" : \"bip9\", (string) currently only set to " + "\"bip9\"\n" + " \"bip9\" : { (object) status of bip9 " + "softforks (only for \"bip9\" type)\n" + " \"status\": \"xxxx\", (string) one of \"defined\", " + "\"started\", \"locked_in\", \"active\", \"failed\"\n" + " \"bit\": xx, (numeric) the bit (0-28) in the " + "block version field used to signal this softfork (only for " + "\"started\" status)\n" + " \"startTime\": xx, (numeric) the minimum median " + "time past of a block at which the bit gains its meaning\n" + " \"timeout\": xx, (numeric) the median time past " + "of a block at which the deployment is considered failed if not " + "yet locked in\n" + " \"since\": xx, (numeric) height of the first " + "block to which the status applies\n" + " \"statistics\": { (object) numeric statistics " + "about BIP9 signalling for a softfork (only for \"started\" " + "status)\n" + " \"period\": xx, (numeric) the length in blocks " + "of the BIP9 signalling period \n" + " \"threshold\": xx, (numeric) the number of blocks " + "with the version bit set required to activate the feature \n" + " \"elapsed\": xx, (numeric) the number of blocks " + "elapsed since the beginning of the current period \n" + " \"count\": xx, (numeric) the number of blocks " + "with the version bit set in the current period \n" + " \"possible\": xx (boolean) returns false if " + "there are not enough blocks left in this period to pass " + "activation threshold\n" + " },\n" + " \"active\": xx, (boolean) true if the rules are " + "enforced for the mempool and the next block\n" + " }\n" + " }\n" + " }\n" + " \"warnings\" : \"...\", (string) any network and " "blockchain warnings.\n" "}\n" "\nExamples:\n" +