Fix stock LDK public channel announcements - #10
Draft
bitwalt wants to merge 1 commit into
Draft
Conversation
bitwalt
force-pushed
the
codex/issue-9-stock-ldk-interop
branch
3 times, most recently
from
August 7, 2026 07:19
3299022 to
aada3bd
Compare
bitwalt
force-pushed
the
codex/issue-9-stock-ldk-interop
branch
5 times, most recently
from
August 7, 2026 10:12
c6be73a to
9f4ee8d
Compare
bitwalt
force-pushed
the
master
branch
3 times, most recently
from
August 10, 2026 19:35
f11d78d to
82503a5
Compare
bitwalt
force-pushed
the
codex/issue-9-stock-ldk-interop
branch
from
August 11, 2026 09:12
9f4ee8d to
16bd3e1
Compare
bitwalt
force-pushed
the
codex/issue-9-stock-ldk-interop
branch
from
August 11, 2026 09:19
16bd3e1 to
a3c8c35
Compare
bitwalt
force-pushed
the
codex/issue-9-stock-ldk-interop
branch
from
August 11, 2026 15:39
a3c8c35 to
fcafff6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #12.
Root cause
RGB-LDK serialized the optional RGB contract ID into every BOLT 7 channel announcement, including an explicit absent marker for vanilla channels. Stock LDK signs the standard message without that byte, so RLN verified its peer signature against different bytes and force-closed the channel.
What changed
Impact
Announced vanilla channels with stock-LDK peers can complete the announcement-signature exchange without a destructive force-close.
Validation
The focused rust-lightning unit-test target is currently blocked by unrelated pre-existing test-build failures in the fork; the production library and the full RLN target graph compile successfully. The announced-channel regression runs in the dedicated interoperability workflow.