Conversation
12654e5 to
5275215
Compare
5275215 to
8e56bc7
Compare
I believe you've introduced a new bug in your fix. I've tested the following flow:
Here is the log of the force-close: If you want to reproduce, you can use this custom eclair branch that ignores splice
This one doesn't seem to be fixed. I still get the following error on reconnection: Steps to reproduce:
|
|
@t-bast Are there special steps for compiling these branches? I tried % ./mvnw package -pl eclair-node -am -Dmaven.test.skip=true
Error: Failed to validate Maven wrapper SHA-256, your Maven wrapper might be compromised.
Investigate or delete [...].mvn/wrapper/maven-wrapper.jar to attempt a clean download.
If you updated your Maven version, you need to update the specified wrapperSha256Sum property.Deleting .mvn/wrapper/maven-wrapper.jar didn't seem to help. Not familiar with Maven or what it does 🤔 |
740c90d to
32a7040
Compare
Thanks for these thorough steps and logs! I was able to make fixes for the issues in your failure cases but I can't test them them on these branches because of the Maven build error I'm getting. It's proooobably all working now though! Edit: The p2wpkh signing error should also fixed on master now and this PR is rebased to include it. |
32a7040 to
bdfbdf0
Compare
That's strange, if you delete your whole
I have done another round of testing based on the latest version of this branch, and everything is working 🎉 🎉 🎉 I can confirm that the |
rustyrussell
left a comment
There was a problem hiding this comment.
Looks good, some little changes would be nice!
Update log message to match the behavior of the check its logging about. Changelog-None
In some situations Eclair sends CHANNEL_READY before resuming the splice in reestablish. This update allows one of these messages to be processed if it comes in during the splice resume process. Changelog-None
Splice commands can fail because of external reasons, for example our peer rejecting the splice. These external reasons eat the active `splice_command` so we need to stop storing the `splice_command` in callbacks and instead pull it from the `splice_commands` list which automatically removes the object when its consumed. This corrects a lightningd crash under certain RPC circumstances. Changelog-None
A new TLV in `channel_reestablish` lets our peer request announcement signatures. This updates CLN to (re)send them when requested. As per splice spec PR https://github.com/lightning/bolts/pull/1160/changes#diff-ed04ca2c673fd6aabde69389511fa9ee60cb44d6b2ef6c88b549ffaa753d6afeR3303-R3308 Changelog-None
96655fe to
c897727
Compare
|
Thanks for the review @rustyrussell! Made the changes, it should be ready to go 👍 |
c897727 to
bc34359
Compare
A collection of fixes for interop with Eclair.
channel_readymessages to occur during splice reestablish flow.reestablishTLVs.