Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e55f496
lsp_plugin: change id type in jsonrpc
nepet Sep 18, 2025
0760fe9
lsp_plugin: add fn to wrap payload with peer id
nepet Sep 18, 2025
11bafd7
lsp_plugin: add sane error to listprotocols
nepet Sep 18, 2025
3f03931
lsp_plugin: add dev-eneabled flag for client
nepet Sep 18, 2025
9fc278c
lsp_plugin: add primitives for messages
nepet Sep 19, 2025
21056f6
lsp_plugin: change listprotocols request
nepet Sep 19, 2025
4987d95
lsp_plugin: check that featurebit is set and that
nepet Sep 19, 2025
3a48ca5
lsp_plugin: refactor lsps0listprotocols handler
nepet Sep 19, 2025
2eb7c32
lsp_plugin: add lsps2 models
nepet Sep 19, 2025
6d26fac
lsp_plugin: add lsps2_getinfo handler and call
nepet Sep 21, 2025
7ed03d9
lsp_plugin: add lsps2_buy request and handler
nepet Sep 21, 2025
563827b
lsp_plugin: add htlc_accepted handler for no-mpp
nepet Sep 22, 2025
c28abb5
lsp_plugin: add lsps-jitchannel handler
nepet Sep 22, 2025
55c0132
lsp_plugin: add client side check for zero_conf
nepet Sep 25, 2025
fbdd460
lsp_plugin: pass-through invoice params
nepet Sep 29, 2025
2fb5b98
chore(fmt): Fix formatting of new python files.
cdecker Sep 29, 2025
9b4f165
lsp_plugin: remove redundant config option
nepet Oct 7, 2025
9f2841a
lsp_plugin: rename cmds and opts to fit convention
nepet Oct 7, 2025
602c308
lsp_plugin: add documentation for options
nepet Oct 7, 2025
bd31971
lsp_plugin: add reversed feature-bit check
nepet Oct 7, 2025
52db3a9
lsp_plugin: relax LSP feateture bit handling
nepet Oct 10, 2025
1a2d522
lsp_plugin: remove reserve from hook response
nepet Oct 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 115 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 20 additions & 1 deletion doc/lightningd-config.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ the address is announced.
IPv4 or IPv6 address of the Tor control port (default port 9051),
and this will be used to configure a Tor hidden service for port 9735
in case of mainnet (bitcoin) network whereas other networks (testnet,
testnet4, signet, regtest) will set the same default ports they use for
testnet4, signet, regtest) will set the same default ports they use for
non-Tor addresses (see above).
The Tor hidden service will be configured to point to the
first IPv4 or IPv6 address we bind to and is by default unique to
Expand Down Expand Up @@ -804,6 +804,24 @@ The operations will be bundled into a single transaction. The channel will remai
active while awaiting splice confirmation, however you can only spend the smaller
of the prior channel balance and the new one.

* **experimental-lsps-client**

Specifying this enables client side support for the lsps protocol
([blip][blip] #50). Core-Lightning only supports the lsps2 ([blip][blip] #52)
subprotocol describing the creation of just-in-time-channel (JIT-channels)
between a LSP and this client.

* **experimental-lsps2-service**

Specifying this enables a LSP JIT-Channel service according to the lsps
protocol ([blip][blip] #52). It requires a LSP-Policy plugin to be available and
a *experimental-lsps2-promise-secret* to be set.

* **experimental-lsps2-promise-secret**=*promise_secret*

Sets a `promise_secret` for the LSP JIT-Channel service. Is a 64-character hex
string that acts as the secret for promises according to ([blip][blip] #52).
Is required if *experimental-lsps2-service* is set.

BUGS
----
Expand Down Expand Up @@ -838,3 +856,4 @@ the rest of the code is covered by the BSD-style MIT license.
[bolt]: https://github.com/lightning/bolts
[bolt12]: https://github.com/rustyrussell/lightning-rfc/blob/guilt/offers/12-offer-encoding.md
[pr4421]: https://github.com/ElementsProject/lightning/pull/4421
[blip]: https://github.com/lightning/blips
2 changes: 2 additions & 0 deletions plugins/lsps-plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ path = "src/service.rs"
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
bitcoin = "0.31"
chrono = { version= "0.4.42", features = ["serde"] }
cln-plugin = { version = "0.5", path = "../" }
cln-rpc = { version = "0.5", path = "../../cln-rpc" }
hex = "0.4"
Expand Down
Loading
Loading