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
  1. MarcoFalke commented at 8:19 am on March 16, 2022: member

    Also, fix whitespace to be 4 spaces. Can be reviewed with --ignore-all-space --word-diff-regex=..

    Found by https://github.com/bitcoin/bitcoin/pull/23083

  2. doc: Fix getblockchaininfo/getdeploymentinfo RPC docs facd5d92e1
  3. fanquake added the label Docs on Mar 16, 2022
  4. MarcoFalke commented at 8:23 am on March 16, 2022: member

    Rendered diff:

     0diff --git a/getblockchaininfo b/getblockchaininfo
     1index 683b68b..c879be5 100644
     2--- a/getblockchaininfo
     3+++ b/getblockchaininfo
     4@@ -19,7 +19,7 @@ Result:
     5   "pruneheight" : n,                      (numeric, optional) lowest-height complete block stored (only present if pruning is enabled)
     6   "automatic_pruning" : true|false,       (boolean, optional) whether automatic pruning is enabled (only present if pruning is enabled)
     7   "prune_target_size" : n,                (numeric, optional) the target size used by pruning (only present if automatic pruning is enabled)
     8-  "softforks" : {                         (json object) (DEPRECATED, returned only if config option -deprecatedrpc=softforks is passed) status of softforks
     9+  "softforks" : {                         (json object, optional) (DEPRECATED, returned only if config option -deprecatedrpc=softforks is passed) status of softforks
    10     "xxxx" : {                            (json object) name of the softfork
    11       "type" : "str",                     (string) one of "buried", "bip9"
    12       "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)
    13@@ -39,7 +39,7 @@ Result:
    14           "count" : n,                    (numeric) the number of blocks with the version bit set in the current period
    15           "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)
    16         },
    17-        "signalling" : "str"              (string) indicates blocks that signalled with a # and blocks that did not with a -
    18+        "signalling" : "str"              (string, optional) indicates blocks that signalled with a # and blocks that did not with a -
    19       }
    20     },
    21     ...
    22diff --git a/getdeploymentinfo b/getdeploymentinfo
    23index 35cafe7..eb03010 100644
    24--- a/getdeploymentinfo
    25+++ b/getdeploymentinfo
    26@@ -29,9 +29,10 @@ Result:
    27           "count" : n,                  (numeric) the number of blocks with the version bit set in the current period
    28           "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)
    29         },
    30-        "signalling" : "str"            (string) indicates blocks that signalled with a # and blocks that did not with a -
    31+        "signalling" : "str"            (string, optional) indicates blocks that signalled with a # and blocks that did not with a -
    32       }
    33-    }
    34+    },
    35+    ...
    36   }
    37 }
    38 
    
  5. luke-jr approved
  6. luke-jr commented at 3:26 am on March 19, 2022: member
    crACK facd5d92e185cde608289462b400b19bba2b901c
  7. MarcoFalke merged this on Mar 22, 2022
  8. MarcoFalke closed this on Mar 22, 2022

  9. MarcoFalke deleted the branch on Mar 22, 2022
  10. jonatack commented at 10:28 am on March 22, 2022: member
    Post-merge ACK
  11. sidhujag referenced this in commit 8102442803 on Mar 23, 2022
  12. fanquake referenced this in commit c243e08351 on Mar 31, 2022
  13. luke-jr referenced this in commit 55bd96650d on May 21, 2022
  14. DrahtBot locked this on Mar 22, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-06-18 07:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me