Skip to content

Conversation

@ddustin
Copy link
Collaborator

@ddustin ddustin commented Feb 4, 2025

If a user tries to do a splice without signing their inputs we now provide them with a nice error message and cancel the RPC since that wouldn’t be productive for the user anyway.

We also add a helpful message if they do the opposite — try to sign a PSBT where they did not add any inputs.

Resolves #8011 and addresses signpsbt error confusion here: #8030 (comment)

@ddustin ddustin added this to the v25.02 milestone Feb 4, 2025
@ddustin ddustin force-pushed the ddustin/missing_user_sigs branch 4 times, most recently from 83c4632 to 3942d97 Compare February 5, 2025 20:56
@rustyrussell
Copy link
Contributor

Ack, looks good, but broke example generation and some tests?

@ddustin ddustin force-pushed the ddustin/missing_user_sigs branch 6 times, most recently from ab81c99 to 4bab93e Compare February 6, 2025 17:52
If a user tries to do a splice without signing their inputs we now provide them with a nice error message and cancel the RPC since that wouldn’t be productive for the user anyway.

We also add a helpful message if they do the opposite — try to sign a PSBT where they did not add any inputs.

Changelog-Changed: Update prevents users from trying to splice unsigned PSBTs — protecting against potential issues.
@ddustin ddustin force-pushed the ddustin/missing_user_sigs branch from 4bab93e to 13be8a2 Compare February 6, 2025 23:34
@ddustin
Copy link
Collaborator Author

ddustin commented Feb 7, 2025

Ack, looks good, but broke example generation and some tests?

Turns out the way of detecting if taproot signatures exist in wally psbt is more complex and since the onchain wallet uses taproot now it caused a series of failures because it thought every splice wasn't signed.

I updated to a new way of checking for taproot signatures.

@endothermicdev endothermicdev merged commit 755c807 into ElementsProject:master Feb 7, 2025
40 checks passed
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.

Peer crashed during splice-in, channel now unrecoverable

3 participants