Skip to content

Allow holder commitment and HTLC signature requests to fail#2816

Merged
TheBlueMatt merged 3 commits into
lightningdevkit:mainfrom
wpaulino:retryable-holder-sigs
Feb 13, 2024
Merged

Allow holder commitment and HTLC signature requests to fail#2816
TheBlueMatt merged 3 commits into
lightningdevkit:mainfrom
wpaulino:retryable-holder-sigs

Conversation

@wpaulino
Copy link
Copy Markdown
Contributor

@wpaulino wpaulino commented Jan 8, 2024

As part of the ongoing async signer work, our holder signatures must also be capable of being obtained asynchronously. We rely on our existing ChainMonitor::rebroadcast_pending_claims method to retry pending onchain claims by re-signing and rebroadcasting transactions. Unfortunately, we cannot retry said claims without them being registered first, so if we're not able to obtain the signature synchronously, we must return the transaction as unsigned and ensure it is not broadcast.

Fixes #2520.

Loading
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.

ChannelSigner::sign_holder_commitment_and_htlcs causes panic when returning Err

5 participants