-
Notifications
You must be signed in to change notification settings - Fork 407
Require feature option_shutdown_anysegwit
#1018
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
Conversation
Needs rebase on keysend. |
9caabc3
to
8d84e15
Compare
8d84e15
to
1e27816
Compare
Codecov Report
@@ Coverage Diff @@
## main #1018 +/- ##
==========================================
- Coverage 90.79% 90.72% -0.08%
==========================================
Files 60 60
Lines 31434 31745 +311
==========================================
+ Hits 28542 28802 +260
- Misses 2892 2943 +51
Continue to review full report at Codecov.
|
Grrrrrr, I'm more than a little bit pissed about this, but it looks like maybe lnd doesn't support shutdown_anysegwit? At least my immediate peers don't seem to support it. I've asked on their slack but its a bit disappointing that a 2-year-old spec change isn't supported. It's quite annoying, but I guess we could simply document this and then check if the peer supports anysegwit when we open the channel? |
Hmmm... looks like it was only merged into the spec back on May 24 of this year. Could check at channel open and would also need to check at close after #1019. |
Though it would make our interfaces more complicated if the validity of the user's shutdown script provided by |
It's been around for much longer, though. At least it's super trivial to implement, too.
I think we should just force-close in that case and document it. Hopefully eventually lnd will implement it and until then warning users is fine I think. |
#1019 is going ahead without requiring |
Fixes #1006.
TODO: Fix
full_stack
fuzz test failure likely caused by: