HomePhabricator

remove coinbase spend tracking in CTxMemPoolEntry

Description

remove coinbase spend tracking in CTxMemPoolEntry

Summary:
Tracking of coinbase spends in CTxMemPoolEntry was introduced in https://github.com/bitcoin/bitcoin/pull/6915/commits/7e49f5f8b4e237d7212d027a7bea4bbd52c9e7b6
After removing removeForReorg in D13133, a lot of the code that previously cared about whether a mempool tx spends a coinbase no longer does.

Coinbase maturity is still checked via MemPoolAccept::PreChecks -> Consensus::CheckTxInputs.

Depends on D15788

Test Plan: ninja all check-all bench-bitcoin

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Mar 27 2024, 09:47
PiRKPushed on Mar 27 2024, 15:52
Reviewer
Restricted Project
Differential Revision
D15789: remove coinbase spend tracking in CTxMemPoolEntry
Parents
rABC6b9dd55f580a: cleanup more unused code after removal of chained-tx logic…
Branches
Unknown
Tags
Unknown