HomePhabricator

[avalanche] Enable mining finalized transactions

Description

[avalanche] Enable mining finalized transactions

Summary:
This require to only include the transactions that are still in the mempool.
Because the node keeps the radix tree untouched until the block is finalized, it would be possible for the node to generate a block template with confirmed transactions otherwise.

The feature is gated behind a dedicated flag for now. In the end this will be tied to preconsensus but this requires some tests to be updated first.

Test Plan:

ninja check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

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

Details

Provenance
FabienAuthored on Jul 18 2025, 15:12
FabienPushed on Jul 25 2025, 07:36
Reviewer
Restricted Project
Differential Revision
D18406: [avalanche] Enable mining finalized transactions
Parents
rABCb8db60f91994: [e.cash] Add footer
Branches
Unknown
Tags
Unknown