HomePhabricator

refactor: Avoid CScriptCheck::swap

Description

refactor: Avoid CScriptCheck::swap

Summary:
This is a partial backport of core#26479
https://github.com/bitcoin/bitcoin/pull/26749/commits/15209d97c6aad7d5c199fe007ad39b91c8ee6562
https://github.com/bitcoin/bitcoin/pull/26749/commits/06820032142a75cc3c5b832045058bc6f6f74786

The validation.cpp change was already done in D297

Test Plan: ninja && ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Mar 21 2023, 13:03
PiRKCommitted on May 13 2024, 16:48
PiRKPushed on May 13 2024, 16:48
Reviewer
Restricted Project
Differential Revision
D16143: refactor: Avoid CScriptCheck::swap
Parents
rABC6807143b114f: Split non/kernel chainparams
Branches
Unknown
Tags
Unknown

Event Timeline

PiRK committed rABCb3e09635eb70: refactor: Avoid CScriptCheck::swap (authored by Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>).May 13 2024, 16:48