diff options
author | Anthony Towns <aj@erisian.com.au> | 2023-05-08 15:37:11 +1000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-05-11 14:24:19 +0100 |
commit | a9a861af2b4b1c0a17b8abda34cb741170e12d7d (patch) | |
tree | 0310605776bc3fa2e18fde8348cd550f25d8cc57 /test/lint/lint-python-dead-code.py | |
parent | ec7cd33c9c70af5903bf5dbf1056d42868de6f43 (diff) |
txmempool: have CompareDepthAndScore sort missing txs first
We use CompareDepthAndScore to choose an order of txs to inv. Rather
than sorting txs that have been evicted from the mempool at the end
of the list, sort them at the beginning so they are removed from
the queue immediately.
Github-Pull: #27610
Rebased-From: 228e9201efb5574b1b96bb924de1d2e8dd1317f3
Diffstat (limited to 'test/lint/lint-python-dead-code.py')
0 files changed, 0 insertions, 0 deletions