HomePhabricator

[Chronik] Refactor: Change to `Mempool::remove_mined`

Description

[Chronik] Refactor: Change to Mempool::remove_mined

Summary:
Change removed_mined_txs to remove_mined, which only removes one tx but returns it.

Also harmonizes the name with the other remove_mined method (and fixes "removed" -> "remove").

Test Plan: ninja check-crates && ninja check-functional

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Apr 25 2023, 17:53
tobias_ruckPushed on Apr 26 2023, 10:45
Reviewer
Restricted Project
Differential Revision
D13779: [Chronik] Refactor: Change to `Mempool::remove_mined`
Parents
rABCa70846fc8187: [chronik-client] Add existing package to the monorepo as-is
Branches
Unknown
Tags
Unknown