HomePhabricator

[backport#16185 1/3] gettransaction: add an argument to decode the transaction

Description

[backport#16185 1/3] gettransaction: add an argument to decode the transaction

Summary:
This adds a new boolean parameter 'decode' to the gettransaction call, which, if set to true, add a 'decoded' field to the result containing the decoded transaction

https://github.com/bitcoin/bitcoin/pull/16185/commits/7f3bb247a811582d1aa4805d8e601c19808dc7ba


Partial backport of Core PR16185

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
darosior <darosior@protonmail.com>Authored on Jun 10 2019, 22:42
majcostaCommitted on Sep 5 2020, 21:57
majcostaPushed on Sep 5 2020, 21:57
Reviewer
Restricted Project
Differential Revision
D7370: [backport#16185 1/3] gettransaction: add an argument to decode the transaction
Parents
rABCa4830c0892a2: [backport#16503] Remove p2pEnabled from Chain interface
Branches
Unknown
Tags
Unknown