Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
191ef36
lsp_plugin: change id type in jsonrpc
nepet Sep 18, 2025
0047a40
lsp_plugin: add fn to wrap payload with peer id
nepet Sep 18, 2025
18e3860
lsp_plugin: add sane error to listprotocols
nepet Sep 18, 2025
8a8ecb2
lsp_plugin: add dev-eneabled flag for client
nepet Sep 18, 2025
bca6909
lsp_plugin: add primitives for messages
nepet Sep 19, 2025
8be3404
lsp_plugin: change listprotocols request
nepet Sep 19, 2025
876a336
lsp_plugin: check that featurebit is set and that
nepet Sep 19, 2025
5f6f2b6
lsp_plugin: refactor lsps0listprotocols handler
nepet Sep 19, 2025
30b9f74
lsp_plugin: add lsps2 models
nepet Sep 19, 2025
4de5aa6
lsp_plugin: add lsps2_getinfo handler and call
nepet Sep 21, 2025
77051cd
lsp_plugin: add lsps2_buy request and handler
nepet Sep 21, 2025
65f66d4
lsp_plugin: add htlc_accepted handler for no-mpp
nepet Sep 22, 2025
7cdc603
lsp_plugin: add lsps-jitchannel handler
nepet Sep 22, 2025
4be40e1
lsp_plugin: add client side check for zero_conf
nepet Sep 25, 2025
cb06a73
lsp_plugin: pass-through invoice params
nepet Sep 29, 2025
146527f
chore(fmt): Fix formatting of new python files.
cdecker Sep 29, 2025
42e694b
lsp_plugin: remove redundant config option
nepet Oct 7, 2025
999a855
lsp_plugin: rename cmds and opts to fit convention
nepet Oct 7, 2025
50f1425
lsp_plugin: add documentation for options
nepet Oct 7, 2025
6012551
lsp_plugin: add reversed feature-bit check
nepet Oct 7, 2025
dda85fa
lsp_plugin: relax LSP feateture bit handling
nepet Oct 10, 2025
7484d1e
lsp_plugin: remove reserve from hook response
nepet Oct 10, 2025
76cf970
lsp_plugin: add u64 getter and setter to tlvs
nepet Oct 20, 2025
1d6b2c3
lsp_plugin: change extra_fee value type to u64
nepet Oct 20, 2025
124a155
lsp_plugin: remove feature flag temporarily to ...
nepet Oct 20, 2025
3ea47c8
lsp_plugin: remove anchor-type from jit channel
nepet Oct 21, 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**=*promisesecret*

Sets a `promisesecret` 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