HomePhabricator

[backport#16866] wallet: Rename 'decode' argument in gettransaction method to…

Description

[backport#16866] wallet: Rename 'decode' argument in gettransaction method to 'verbose'

Summary:
[wallet] Rename 'decode' argument in gettransaction method to 'verbose' (John Newbery)

Pull request description:

This makes the RPC method consistent with other RPC methods that have a
'verbose' option.

Change the name of the return object from 'decoded' to details.

Update help text.

Backport of Core PR16866 and PR16873 (required to unbreak PR16866)

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Samuel Dobson <dobsonsa68@gmail.com>Authored on Sep 14 2019, 09:42
majcostaCommitted on Sep 7 2020, 15:02
majcostaPushed on Sep 7 2020, 15:02
Reviewer
Restricted Project
Differential Revision
D7378: [backport#16866] wallet: Rename 'decode' argument in gettransaction method to 'verbose'
Parents
rABC09da930cffe5: [CI] Archive the release notes on version change
Branches
Unknown
Tags
Unknown