-
Notifications
You must be signed in to change notification settings - Fork 939
Add LSPS0 Client and Service Plugin #8227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
I don't think the service does anything right now, so it's probably OK that it's enabled by default. But obviously we'll want some options and documentation once it does... |
Very nice PR, looks like there is either a missing include of a Makefile or the Makefile was not committed, otherwise good to go 👍 ACK 80cb8c4 |
Signed-off-by: Peter Neuroth <[email protected]>
Adds an async safe JSON-RPC V2 client for a generic transport layer. The transport layer we will use later on are BOLT8 lightning messages. Signed-off-by: Peter Neuroth <[email protected]>
For lsps0 we send JSON-RPC messages via custom messages over the lightning network. This commit adds a basic implementation based on custom messages.
We want a working client to run some integration tests. Changelog-Added: lsps-plugin: lsps0 client support
@rustyrussell Added a bool option In a next iteration we could even go as far as to only build the lsps-service plugin when we enabled it during configuration as I guess that only a minority of nodes want to be LSPs anyways. This would safe us some time and space when compiling cln. |
Implements the LSPS0 service plugin for core lightning Changelog-Added: lsps-plugin: lsps0 service support Signed-off-by: Peter Neuroth <[email protected]>
Signed-off-by: Peter Neuroth <[email protected]>
Adds some additional documentation to the json-rpc v2.0 messages and error types. Signed-off-by: Peter Neuroth <[email protected]>
This PR implments the basic transport mechanism (
lsps0
) for LSP clients and services as described in https://github.com/lightning/blips/blob/master/blip-0050.mdlsps0
describes how LSPs communicate with their clients, wich basically is JSON-RPC v2.0 via custom lightning messages.