Skip to content

feat(bob): concurrent swaps#971

Draft
binarybaron wants to merge 6 commits intomasterfrom
feat/bob-concurrent-swaps
Draft

feat(bob): concurrent swaps#971
binarybaron wants to merge 6 commits intomasterfrom
feat/bob-concurrent-swaps

Conversation

@binarybaron
Copy link
Copy Markdown

@binarybaron binarybaron commented Apr 28, 2026

No description provided.

@binarybaron
Copy link
Copy Markdown
Author

We should display the final state of the swap until the user acknowledges it.

@binarybaron
Copy link
Copy Markdown
Author

We should move the "cancel timeline" from the "history" page to the "swaps" page and hide it somewhat (make it expandable).

@binarybaron
Copy link
Copy Markdown
Author

Issue:

run_exclusive_initiation releases the initiation lock at swap_manager.rs:642 before the lock-tx is broadcast. UTXO selection happens inside the spawned task (TxLock::new → wallet.send_to_address); the wallet mutex is method-level, so two concurrent buy_xmr calls can build PSBTs from the same UTXOs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant