Also, fix whitespace to be 4 spaces. Can be reviewed with --ignore-all-space --word-diff-regex=..
doc: Fix getblockchaininfo/getdeploymentinfo RPC docs #24579
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2203-docRpc-🔅 changing 1 files +33 −33-
MarcoFalke commented at 8:19 AM on March 16, 2022: member
-
doc: Fix getblockchaininfo/getdeploymentinfo RPC docs facd5d92e1
- fanquake added the label Docs on Mar 16, 2022
-
MarcoFalke commented at 8:23 AM on March 16, 2022: member
Rendered diff:
diff --git a/getblockchaininfo b/getblockchaininfo index 683b68b..c879be5 100644 --- a/getblockchaininfo +++ b/getblockchaininfo @@ -19,7 +19,7 @@ Result: "pruneheight" : n, (numeric, optional) lowest-height complete block stored (only present if pruning is enabled) "automatic_pruning" : true|false, (boolean, optional) whether automatic pruning is enabled (only present if pruning is enabled) "prune_target_size" : n, (numeric, optional) the target size used by pruning (only present if automatic pruning is enabled) - "softforks" : { (json object) (DEPRECATED, returned only if config option -deprecatedrpc=softforks is passed) status of softforks + "softforks" : { (json object, optional) (DEPRECATED, returned only if config option -deprecatedrpc=softforks is passed) status of softforks "xxxx" : { (json object) name of the softfork "type" : "str", (string) one of "buried", "bip9" "height" : n, (numeric, optional) height of the first block which the rules are or will be enforced (only for "buried" type, or "bip9" type with "active" status) @@ -39,7 +39,7 @@ Result: "count" : n, (numeric) the number of blocks with the version bit set in the current period "possible" : true|false (boolean, optional) returns false if there are not enough blocks left in this period to pass activation threshold (only for "started" status) }, - "signalling" : "str" (string) indicates blocks that signalled with a # and blocks that did not with a - + "signalling" : "str" (string, optional) indicates blocks that signalled with a # and blocks that did not with a - } }, ... diff --git a/getdeploymentinfo b/getdeploymentinfo index 35cafe7..eb03010 100644 --- a/getdeploymentinfo +++ b/getdeploymentinfo @@ -29,9 +29,10 @@ Result: "count" : n, (numeric) the number of blocks with the version bit set in the current period "possible" : true|false (boolean, optional) returns false if there are not enough blocks left in this period to pass activation threshold (only for "started" status) }, - "signalling" : "str" (string) indicates blocks that signalled with a # and blocks that did not with a - + "signalling" : "str" (string, optional) indicates blocks that signalled with a # and blocks that did not with a - } - } + }, + ... } } - luke-jr approved
-
luke-jr commented at 3:26 AM on March 19, 2022: member
crACK facd5d92e185cde608289462b400b19bba2b901c
- MarcoFalke merged this on Mar 22, 2022
- MarcoFalke closed this on Mar 22, 2022
- MarcoFalke deleted the branch on Mar 22, 2022
-
jonatack commented at 10:28 AM on March 22, 2022: member
Post-merge ACK
- sidhujag referenced this in commit 8102442803 on Mar 23, 2022
- fanquake referenced this in commit c243e08351 on Mar 31, 2022
- luke-jr referenced this in commit 55bd96650d on May 21, 2022
- DrahtBot locked this on Mar 22, 2023
Contributors
Labels