Skip to content

Expose splice negotiation events over gRPC - #265

Open
elnafateh wants to merge 1 commit into
lightningdevkit:mainfrom
elnafateh:expose-splice-events
Open

Expose splice negotiation events over gRPC#265
elnafateh wants to merge 1 commit into
lightningdevkit:mainfrom
elnafateh:expose-splice-events

Conversation

@elnafateh

Copy link
Copy Markdown
Contributor

Part of #251.

EventEnvelope was missing SpliceNegotiated and SpliceNegotiationFailed , both currently silently dropped by the catch-all event arm. This adds them as new oneof variants (tags 9, 10), following the same field-mapping pattern as the existing ChannelStateChanged handling.

SpliceNegotiationFailed has no test coverage. Reproducing it requires interrupting a live splice negotiation from outside the node at the exact moment negotiation is still pending, but LDK resolves the interactive-tx-construction phase of a splice in ~10ms over loopback, faster than any external call to this server (CLI or gRPC, ~60ms per call with TLS handshake) can land. ldk-node itself has no test coverage of this event either.

@ldk-reviews-bot

ldk-reviews-bot commented Aug 31, 2026

Copy link
Copy Markdown

👋 Thanks for assigning @benthecarman as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@benthecarman
benthecarman self-requested a review August 31, 2026 10:40
@elnafateh
elnafateh force-pushed the expose-splice-events branch from 96f209d to eb88dc0 Compare August 31, 2026 11:36

@benthecarman benthecarman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add the new events in api-guide.md, otherwise looks good

@elnafateh
elnafateh force-pushed the expose-splice-events branch from eb88dc0 to 4dc5ac7 Compare August 31, 2026 21:41
@elnafateh
elnafateh requested a review from benthecarman August 31, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants