HomePhabricator

scripted-diff: wallet: Rename pcoin to wtx

Authored by MarcoFalke <falke.marco@gmail.com> on Mar 10 2019, 21:29.

Description

scripted-diff: wallet: Rename pcoin to wtx

Summary:

-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/const CWalletTx ?\* ?pcoin = &/const CWalletTx\& wtx = /g' src/wallet/wallet.cpp
sed -i -e 's/\<pcoin->/wtx./g' src/wallet/wallet.cpp
sed -i -e 's/\<pcoin\>/\&wtx/g' src/wallet/wallet.cpp
-END VERIFY SCRIPT-

This is a partial backport of Core PR15596 : https://github.com/bitcoin/bitcoin/pull/15596/commits/faa3a246e8809b4954a4a6d202fe8c7f7f776b6e

Depends on D6221

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Committed
deadalnixFri, May 22, 18:41
Pushed
deadalnixFri, May 22, 18:41
Reviewer
Restricted Project
Differential Revision
D6222: scripted-diff: wallet: Rename pcoin to wtx
Parents
rABC07a8d7d8c195: rpc: Document that minconf is an ignored dummy value
Branches
Unknown
Tags
Unknown