Require feature option_shutdown_anysegwit#1018
Require feature option_shutdown_anysegwit#1018jkczyz wants to merge 2 commits intolightningdevkit:mainfrom
option_shutdown_anysegwit#1018Conversation
|
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_stackfuzz test failure likely caused by: