HomePhabricator

test: rename CTransaction .rehash()/.hash -> .txid_hex for consistency

Description

test: rename CTransaction .rehash()/.hash -> .txid_hex for consistency

Summary:
Note that we unfortunately can't use a scripted diff here, as the same
property and method name is also used for CBlockHeader/CBlock instances.

This is a partial backport of core#32421
https://github.com/bitcoin/bitcoin/pull/32421/commits/ce83924237127fe6d32b63c362b57789e4628954

Depends on D18713

Test Plan: ninja check-functional-extended

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Sep 29 2025, 14:45
PiRKPushed on Sep 30 2025, 09:48
Reviewer
Restricted Project
Differential Revision
D18714: test: rename CTransaction .rehash()/.hash -> .txid_hex for consistency
Parents
rABC13275833a495: test: remove bare CTransaction `.rehash()` calls
Branches
Unknown
Tags
Unknown