HomePhabricator

doc: Fix getmempoolancestor RPC result doc

Description

doc: Fix getmempoolancestor RPC result doc

Summary: This is a backport of core#19765

Test Plan:
Run this command before and after the change:

src/bitcoin-cli help getmempoolancestors > before.txt

Compare:

$ git diff --ignore-all-space  ~/before.txt ~/after.txt
diff --git a/home/pierre/before.txt b/home/pierre/after.txt
index b241d3c9e9..343a383459 100644
--- a/home/pierre/before.txt
+++ b/home/pierre/after.txt
@@ -14,6 +14,7 @@ Result (for verbose = false):

 Result (for verbose = true):
 {                                  (json object)
+  "transactionid" : {              (json object)
     "size" : n,                    (numeric) transaction size.
     "fee" : n,                     (numeric) transaction fee in XEC (DEPRECATED)
     "modifiedfee" : n,             (numeric) transaction fee with fee deltas used for mining priority (DEPRECATED)
@@ -40,6 +41,8 @@ Result (for verbose = true):
       ...
     ],
     "unbroadcast" : true|false     (boolean) Whether this transaction is currently unbroadcast (initial broadcast not yet acknowledged by any peers)
+  },
+  ...
 }

 Examples:

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10115

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Aug 19 2020, 08:41
PiRKCommitted on Wed, Sep 15, 06:55
PiRKPushed on Wed, Sep 15, 06:55
Reviewer
Restricted Project
Differential Revision
D10115: doc: Fix getmempoolancestor RPC result doc
Parents
rABCfeada73b0ab3: refactor: make EncodeBase58{Check} consume Spans
Branches
Unknown
Tags
Unknown