HomePhabricator

[avalanche] Sort txs to poll by modified fee rate

Description

[avalanche] Sort txs to poll by modified fee rate

Summary: Then fallback to entry id in case of equality. Also manage a sort by txid if the txs are not in the mempool (which is currently unsupported by avalanche).

Test Plan:

ninja all check-all

Run the TSAN build.

Reviewers: #bitcoin_abc, PiRK, sdulfari

Reviewed By: #bitcoin_abc, PiRK, sdulfari

Subscribers: sdulfari

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

Details

Provenance
FabienAuthored on Mar 28 2023, 20:16
FabienPushed on Apr 3 2023, 15:27
Reviewer
Restricted Project
Differential Revision
D13491: [avalanche] Sort txs to poll by modified fee rate
Parents
rABC5101c0ccf97f: [Chronik] Add `PubKeyVariant` to `bitcoinsuite-core`
Branches
Unknown
Tags
Unknown