HomePhabricator

[avalanche] Add a debug check that we never remove a finalized transaction for…

Description

[avalanche] Add a debug check that we never remove a finalized transaction for conflict

Summary: We reject blocks that contain a tx that conflicts with a finalized one, so this assumption should never break. It's cheap enough that we can assert this on debug bulds to increase confidence.

Test Plan:
With debug:

ninja check-functional

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Subscribers: bytesofman

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

Details

Provenance
FabienAuthored on Jun 5 2025, 13:42
FabienPushed on Jun 5 2025, 18:18
Reviewer
Restricted Project
Differential Revision
D18209: [avalanche] Add a debug check that we never remove a finalized transaction for conflict
Parents
rABCbb983fec074d: [avalanche] Make the abc_p2p_avalanche_transaction_finalization.py test cases…
Branches
Unknown
Tags
Unknown