[WIP]: LSP support - #1623
Draft
chenyukang wants to merge 97 commits into
Draft
Conversation
chenyukang
force-pushed
the
lsp-support
branch
from
August 11, 2026 01:55
6d369e2 to
f1c7b85
Compare
Register a host watchtower row for each ready private U-T channel and leave it in place when the tenant runtime is evicted. Invoice preimages stay on the client. Tenant tokens now include watchtower rights, scoped to the issued node(...) fact so they cannot touch Public T or other tenants.
Unit-test funding txs have no inputs, and revocation MuSig2 uses a commitment-specific key order that does not match the funding lock.
Bruno CLI 1.20.0 has no fetch, so move agent bind to a dedicated HTTP request.
CI randomizes fiber/rpc ports under ON_GITHUB_ACTION, but start.sh hardcoded 21715 so the agent never registered and Bruno hit ECONNREFUSED on the control port.
HostedWatchChannelParams is only used by the native watchtower LSP module, so WASM clippy treated it as dead code under -D warnings.
CompleteReceivedRevokeAndAck stored the molecule Bytes slice by packing it again, so hosted justice txs hashed a 4-byte empty cell and failed commitment-lock auth with error 110.
…on e2e Cover hosted U-T force-close after evict, hold-invoice preimage settlement, and stale-commitment justice with the independent SDK agent.
quake
marked this pull request as draft
August 20, 2026 07:13
…Event constructors
Split signing into aligned Local/External enums for channel MuSig2 and watchtower on-chain paths, and wire submit via SignerNotification. Co-authored-by: Cursor <cursoragent@cursor.com>
chenyukang
force-pushed
the
lsp-support
branch
from
August 29, 2026 13:57
c4da737 to
91f8f4b
Compare
# Conflicts: # crates/fiber-lib/src/fiber/network.rs
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.
To resolve #1571
Implementation of #1625