Fix getpeerinfo doc #24691

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2203-doc-🎲 changing 1 files +3 −3
  1. MarcoFalke commented at 8:00 am on March 28, 2022: member
    • Replace node with peer
    • Remove unused \n
    • Mark optional fields optional. See commit 9344697e57bd23d955df493d0581193ca1dc7cca, found by #23083
  2. doc: Fix getpeerinfo doc faac877ffd
  3. MarcoFalke force-pushed on Mar 28, 2022
  4. MarcoFalke added the label Docs on Mar 28, 2022
  5. MarcoFalke added the label RPC/REST/ZMQ on Mar 28, 2022
  6. MarcoFalke commented at 8:10 am on March 28, 2022: member
     0diff --git a/getpeerinfo b/getpeerinfo
     1index ae40ea4..40b0d63 100644
     2--- a/getpeerinfo
     3+++ b/getpeerinfo
     4@@ -1,6 +1,6 @@
     5 getpeerinfo
     6 
     7-Returns data about each connected network node as a json array of objects.
     8+Returns data about each connected network peer as a json array of objects.
     9 
    10 Result:
    11 [                                         (json array)
    12@@ -17,7 +17,7 @@ Result:
    13       "str",                              (string) the service name if it is recognised
    14       ...
    15     ],
    16-    "relaytxes" : true|false,             (boolean) Whether peer has asked us to relay transactions to it
    17+    "relaytxes" : true|false,             (boolean, optional) Whether peer has asked us to relay transactions to it
    18     "lastsend" : xxx,                     (numeric) The UNIX epoch time of the last send
    19     "lastrecv" : xxx,                     (numeric) The UNIX epoch time of the last receive
    20     "last_transaction" : xxx,             (numeric) The UNIX epoch time of the last valid transaction received from this peer
    21@@ -55,7 +55,7 @@ Result:
    22                                           
    23       ...
    24     ],
    25-    "minfeefilter" : n,                   (numeric) The minimum fee rate for transactions this peer accepts
    26+    "minfeefilter" : n,                   (numeric, optional) The minimum fee rate for transactions this peer accepts
    27     "bytessent_per_msg" : {               (json object)
    28       "msg" : n,                          (numeric) The total bytes sent aggregated by message type
    29                                           When a message type is not listed in this json object, the bytes sent are 0.
    
  7. fanquake approved
  8. fanquake commented at 10:50 am on March 28, 2022: member
    ACK faac877ffd38c3d8515c9e7b585546434f91b741
  9. fanquake merged this on Mar 28, 2022
  10. fanquake closed this on Mar 28, 2022

  11. jonatack commented at 10:58 am on March 28, 2022: member
    Post-merge ACK
  12. MarcoFalke deleted the branch on Mar 28, 2022
  13. fanquake referenced this in commit a13946b822 on Mar 28, 2022
  14. fanquake referenced this in commit c243e08351 on Mar 31, 2022
  15. sidhujag referenced this in commit 3b238d5d44 on Apr 3, 2022
  16. sidhujag referenced this in commit 32e152c768 on Apr 3, 2022
  17. luke-jr commented at 11:04 pm on April 13, 2022: member
    Note: This change would be incorrect in 23.x.
  18. MarcoFalke referenced this in commit 44037a2912 on May 23, 2022
  19. sidhujag referenced this in commit 21ede5a53a on May 28, 2022
  20. DrahtBot locked this on Apr 13, 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-11-17 15:12 UTC

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