Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return signer failure to ChannelManager to stop accepting new channels #2357

Closed
ariard opened this issue Jun 15, 2023 · 3 comments
Closed

Return signer failure to ChannelManager to stop accepting new channels #2357

ariard opened this issue Jun 15, 2023 · 3 comments

Comments

@ariard
Copy link

ariard commented Jun 15, 2023

See #2089 (comment).

@TheBlueMatt
Copy link
Collaborator

This will be implied by any fully fallible signer interface - if we can't get to the signer we can't get keys for a new channel or sign the initial commitment transaction.

@ariard
Copy link
Author

ariard commented Jun 15, 2023

This will be implied by any fully fallible signer interface - if we can't get to the signer we can't get keys for a new channel or sign the initial commitment transaction.

Unless you're signer interface is not fully fallible and you have partial signer failing (e.g due to UTXO oracle being out or disconnection from a partial signer) and not keys generation.

I just don't buy the "fully fallible" (all or nothing), if you have a component failing better to handle back the error to LDK, stop processing new channels, while still being able to sign time-sensitive channel if you can.

@TheBlueMatt
Copy link
Collaborator

I don't really get what component would fail in a signer without the full signer failing? If the signer isn't plugged in, everything fails, if the signer has a hardware failure, its not going to start failing on some functions but not on others? Its possible we can build pubkeys for a signer without being able to sign, but accepting new channels isn't really the biggest issue, we can't enforce anything without our signer, so we should fix that (have the user plug it in/whatever) not worry about just some subset (the new ones) of our channels.

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

No branches or pull requests

2 participants