HomePhabricator

Remove mempool txs in reverse topological order

Description

Remove mempool txs in reverse topological order

Summary:
If a mempool transaction has children, and this transaction gets removed, the node doesn't remove the mempool children in reverse topological order.

Fix this and check Chronik handles the validation queue as expected.

Test Plan: ./test/functional/test_runner.py chronik_mempool_conflicts

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Jan 15 2024, 11:42
tobias_ruckPushed on Jan 15 2024, 15:44
Reviewer
Restricted Project
Differential Revision
D15159: Remove mempool txs in reverse topological order
Parents
rABCe729f98bba77: Turn mempool entry ref into a RCU pointer
Branches
Unknown
Tags
Unknown