Skip to content

staticaddr: coordinate concurrent deposit use - #1190

Open
starius wants to merge 2 commits into
lightninglabs:masterfrom
starius:deposits-registry
Open

staticaddr: coordinate concurrent deposit use#1190
starius wants to merge 2 commits into
lightninglabs:masterfrom
starius:deposits-registry

Conversation

@starius

@starius starius commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Withdrawals obtain signatures before deposits enter their durable state, leaving a window where a loop-in can select the same outputs.

Coordinate in-flight client operations with an in-memory registry. Persist withdrawal data before publication. Existing recovery resumes it after restart.

Pull Request Checklist

  • Update docs/release-notes/release-notes-next.md if your PR contains
    major features, breaking changes or bugfixes

starius added 2 commits August 2, 2026 00:26
Withdrawals obtain signatures before deposits enter their durable state,
leaving a window where a loop-in can select the same outputs.

Coordinate in-flight client operations with an in-memory registry.
Persist withdrawal data before publication. Existing recovery resumes it
after restart.
Hold a withdrawal while it prepares a confirmed deposit, then start a
loop-in with the same outpoint. It must fail before reaching its quote
request, and cleanup must make the deposit available again.
@starius
starius marked this pull request as ready for review August 2, 2026 05:44
@starius
starius requested a review from hieblmi August 2, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants