Skip to content

feat(state machine, alice): separate xmr lock constructed state#1126

Merged
Einliterflasche merged 2 commits into
masterfrom
feat/separate-xmr-lock-constructed-state
Jun 19, 2026
Merged

feat(state machine, alice): separate xmr lock constructed state#1126
Einliterflasche merged 2 commits into
masterfrom
feat/separate-xmr-lock-constructed-state

Conversation

@Einliterflasche

Copy link
Copy Markdown

New state XmrLockTransactionConstructed. No functional difference, but improved atomicity. New state is handled very conservatively: mostly like XmrLocked except we count the Monero for this swap as still being reserved.

No scanning the swap wallet yet, the tx is imported into the monero-sys wallet immediately after publishing.

@Einliterflasche Einliterflasche merged commit 7c3d8e5 into master Jun 19, 2026
56 of 75 checks passed
@pokefan77

Copy link
Copy Markdown

likely cause of bug for unpublished transactions not rebroadcasting and stuck at 0/10

@Einliterflasche

Copy link
Copy Markdown
Author

Proper fix for this is being worked on in #1142

@binarybaron

Copy link
Copy Markdown

likely cause of bug for unpublished transactions not rebroadcasting and stuck at 0/10

Yes but this was still required as a safety precaution.

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.

3 participants