Skip to content

Expose payment preflight-probe RPCs - #324

Merged
benthecarman merged 1 commit into
lightningdevkit:mainfrom
elnafateh:feat/payment-preflight-probes
Oct 30, 2026
Merged

benthecarman merged 1 commit into
lightningdevkit:mainfrom
elnafateh:feat/payment-preflight-probes

Conversation

@elnafateh

Copy link
Copy Markdown
Contributor

Closes #311.

Adds RPCs to check whether a payment can be routed before sending it. Supports fixed and variable-amount BOLT11 invoices and spontaneous payments through the server, client, CLI, and MCP.

Documents that probes use temporary HTLCs and may briefly lock channel liquidity. Adds authorization, MCP discovery, and regtest E2E coverage.

Add focused tests around authorization, MCP, and regtest E2E tests passed

@ldk-reviews-bot

ldk-reviews-bot commented Oct 29, 2026 •

Copy link
Copy Markdown

I've assigned @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 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.

ci failing and seems like the license header on the new file doesn't match correctly

@elnafateh
elnafateh force-pushed the feat/payment-preflight-probes branch from 469a68e to dff5651 Compare October 29, 2026 23:30
Comment thread docs/api-guide.md Resolved
@elnafateh
elnafateh force-pushed the feat/payment-preflight-probes branch from dff5651 to 600f08d Compare October 29, 2026 23:56
@benthecarman
benthecarman merged commit ceb326f into lightningdevkit:main Oct 30, 2026
11 checks passed
@elnafateh
elnafateh deleted the feat/payment-preflight-probes branch October 30, 2026 00:18
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.

Expose payment preflight-probe RPCs

3 participants