Suhas Daftuar 21b5cea588 Use cluster linearization for transaction relay sort order
Previously, transaction batches were first sorted by ancestor count and then
feerate, to ensure transactions are announced in a topologically valid order,
while prioritizing higher feerate transactions. Ancestor count is a crude
topological sort criteria, so replace this with linearization order so that the
highest feerate transactions (as would be observed by the mining algorithm) are
relayed before lower feerate ones, in a topologically valid way.

This also fixes a test that only worked due to the ancestor-count-based sort
order.
2025-11-18 08:53:59 -05:00
..
2025-09-08 18:39:55 +01:00
2025-09-07 17:28:31 +02:00
2025-10-14 14:03:42 -04:00
2025-09-03 11:23:30 +01:00
2025-08-12 11:28:36 -04:00
2025-08-12 11:28:36 -04:00