Closed
Description
Describe the enhancement
At the end of ticket #1063's description, there is a Further work section which states:
Our current structures do not handle unconfirmed conflicts properly when the conflicting transactions have the same
last_seen
timestamp (thanks to @rajarshimaitra for pointing this out).bdk/crates/chain/tests/test_indexed_tx_graph.rs
Lines 692 to 695 in fe7bba1
I propose we deal with this as follows:
When two unconfirmed txs conflict, but have the same last_seen, we can check the input's sequences (using RBF rules). Otherwise, we sort by feerate (if possible). We fallback to lexicographical sorting of txids.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done