HomePhabricator

Make CMutableTransaction constructor explicit

Description

Make CMutableTransaction constructor explicit

Summary:
Silently converting to a CMutableTransaction will drop all caches
and should thus be done explicitly

This is extracted from Core PR13011 : https://github.com/bitcoin/bitcoin/pull/13011/commits/faab55fbb17f2ea5080bf02bc59eeef5ca746f07

We do not really care about the rest of the PR.

Depends on D3338

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on May 4 2018, 21:38
deadalnixCommitted on Jun 15 2019, 00:08
deadalnixPushed on Jun 15 2019, 00:08
Reviewer
Restricted Project
Differential Revision
D3339: Make CMutableTransaction constructor explicit
Parents
rABC06ac73365f35: bitcoin-tx: Remove unused for loop
Branches
Unknown
Tags
Unknown