Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 0 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

### Fixed

- Fixed `signmessage` hanging forever and blocking all subsequent signing operations. The signer refuses `SIGN_MESSAGE` requests by design, so the node now rejects the RPC with an `Unimplemented` ("not supported") error instead of forwarding it to the serial hsmd queue. ([#739](https://github.com/Blockstream/greenlight/issues/739))
- Fixed the signer rejecting justice-sweep signatures with a "feerate below minimum" policy failure when CLN builds sweeps at quiet-fee feerates below the 253 sat/kw default floor. In Greenlight CLN builds all sweep transactions and applies its own feerate floors, so the signer now uses a sanity-check floor of 75 sat/kw.

## [0.4.0] - 2026-05-21

### Fixed
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

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

15 changes: 15 additions & 0 deletions libs/gl-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,25 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

## [0.2.0] - 2026-11-18

### Added

- `node init` creates the local data directory and the `hsm_secret`, from a 12-word mnemonic you provide or a newly generated one, which is shown on screen.
- `node newaddr`, `node listfunds`, `node withdraw`, `node fundchannel` and `node close` commands.
- `--json` flag for machine-readable JSON output on all commands (invoice, pay, listpays, connect, stop, close, fundchannel, withdraw, listfunds, newaddr)
- `signer run` takes `--state-signature-mode` (`off`, `soft` or `hard`), `--state-override` and `--state-override-note`.
- `signer run` writes a local signer backup with `--backup-path`, `--backup-strategy` and `--backup-periodic-updates`. `signer inspect-backup` reads a backup, and `signer convert-backup` converts it to CLN's channel recovery format.
- `signer run` takes the signer's fee budgets: `--payment-fee-exempt-msat`, `--max-payment-fee-ppm`, `--max-commitment-fee-sat` and `--max-mutual-close-fee-sat`.

### Changed

- `fundchannel` now creates private channels by default
- Updated `gl-client` to 0.8.0.

### Removed

- Seeds not derived from a BIP39 mnemonic. Every seed now comes from a 12-word mnemonic, through `node init` or `scheduler register`, so every wallet can be recovered from its mnemonic.

## [0.1.2] - 2026-01-16

Expand All @@ -23,3 +35,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed

- Updated gl-client dependency to support CLN v25.12 signer.

[0.2.0]: https://github.com/Blockstream/greenlight/releases/tag/gl-cli-v0.2.0
[0.1.2]: https://github.com/Blockstream/greenlight/commit/72c877a98fea83f671824c41251417d131ef9086
4 changes: 2 additions & 2 deletions libs/gl-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gl-cli"
version = "0.1.3"
version = "0.2.0"
edition = "2021"
authors = ["Peter Neuroth <pet.v.ne@gmail.com>"]
description = "A command-line interface for running a Greenlight signer and operating a Greenlight node"
Expand All @@ -26,7 +26,7 @@ clap = { version = "4.5", features = ["derive"] }
dirs = "6.0"
env_logger = "0.11"
futures = "0.3"
gl-client = { version = "0.7", path = "../gl-client", features = ["backup"] }
gl-client = { version = "0.8", path = "../gl-client", features = ["backup"] }
hex = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand Down
9 changes: 9 additions & 0 deletions libs/gl-client-py/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

## [0.4.1] - 2026-11-18

### Changed

- Updated `gl-client` to 0.8.0. The signer enforces per-payment routing-fee and on-chain fee budgets with their default limits, and uses VLS 1.0.0-rc.1.

## [0.4.0] - 2026-10-12

### Changed

- Signer version updated from `v25.12` to `v26.06` (VLS 0.14.0 / CLN v26.06.1)
- Remove the use of `decodepay`, deprecated in v24.11.

[0.4.1]: https://github.com/Blockstream/greenlight/releases/tag/gl-client-py-v0.4.1
[0.4.0]: https://github.com/Blockstream/greenlight/commit/97db7225e15ec13e6a917552f3f489b41ca4424c
2 changes: 1 addition & 1 deletion libs/gl-client-py/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gl-client-py"
version = "0.3.0"
version = "0.4.1"
edition = "2018"
authors = ["Christian Decker", "The Greenlight Team"]
description = "Python bindings for the Greenlight client library."
Expand Down
2 changes: 1 addition & 1 deletion libs/gl-client-py/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gl-client"
version = "0.4.0"
version = "0.4.1"
description = ""
readme = "README.md"
requires-python = ">=3.8,<4"
Expand Down
8 changes: 8 additions & 0 deletions libs/gl-client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

## [0.8.0] - 2026-11-18

### Added

- Configure routing and on-chain fee limits with `FeeBudgetLimits` through `SignerConfig::fee_budget_limits`. See [signer fee budgets](../../docs/src/reference/signer-fees.md) for configuration, defaults, and limitations.

### Changed

- **BREAKING**: Upgraded VLS to 1.0.0-rc.1, which moves the re-exported `bitcoin`, `lightning` and `lightning_invoice` types to the LDK 0.2 stack. `ChannelEntry` is now re-exported from `lightning_signer::persist::model`; persisted entries keep their format, so state written by 0.7 still loads.
- **BREAKING**: `SignerConfig` has a new `fee_budget_limits` field, `signer::Error` has new `FeeBudget` and `PreapprovalDeclined` variants, and `signer::model::Request` has a new `Xpay` variant.
- Enforce a routing-fee allowance per payment, shared across all parts and channels. The default is the larger of 1,000 sat and 0.5% of the payment amount. `pay`, direct-invoice `xpay`, and trampoline requests with fee limits above the allowance are rejected before HTLCs are offered.
- Enforce on-chain fee limits of 100,000 sat per new commitment or signed local HTLC input, and 50,000 sat per mutual close by default. Previously accepted force-close commitments remain signable after limits are lowered.
- The signer enforces the `policy-commitment-retry-same`, `policy-revoke-new-commitment-signed` and `policy-other` policies again. They were downgraded to warnings while a commitment state desync was investigated.
- Updated `rcgen` to 0.13, `ring` to 0.17 and `thiserror` to 2. Device certificates and CSRs keep their format.

### Fixed

- Fix missing invoice approvals for invoice-backed `sendpay` and direct-invoice `xpay`, including amountless invoices.
- Allow retrying an amountless invoice with a different amount once the previous attempt has no outstanding HTLCs.
- Fix node hangs caused by signer errors during invoice and keysend preapproval.
- The signer no longer rejects justice sweeps built by CLN at quiet-fee feerates below 253 sat/kw with "feerate below minimum". CLN builds all sweeps and applies its own feerate floors, so the signer's minimum is now a 75 sat/kw sanity check.

## [0.7.0] - 2026-10-12

Expand Down Expand Up @@ -77,5 +84,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Addressed a deprecation warning in gl-testing regarding `PROTOCOL_TLS` being renamed to `PROTOCOL_TLS_SERVER`
- Fixed initial VLS state not being persisted to the tower (nodelet)

[0.8.0]: https://github.com/Blockstream/greenlight/compare/gl-client-v0.7.0...gl-client-v0.8.0
[0.7.0]: https://github.com/Blockstream/greenlight/compare/gl-client-v0.6.0...gl-client-v0.7.0
[0.6.0]: https://github.com/Blockstream/greenlight/compare/gl-client-0.3.2...gl-client-v0.6.0
2 changes: 1 addition & 1 deletion libs/gl-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gl-client"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
authors = [
"The Greenlight Team"
Expand Down
26 changes: 26 additions & 0 deletions libs/gl-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,40 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

## [0.4.0] - 2026-11-18

### Added

- `StreamNodeEvents` gRPC method, streaming node events as `NodeEvent` messages. The only event so far is `InvoicePaid`.
- The `lsp_invoice` response includes `opening_fee_msat`, the fee the LSP charges for opening the JIT channel, so clients can show it with the invoice.
- `lsp_invoice` stores metadata about JIT channel requests in the datastore, keyed by invoice label.
- A public helper looking up the configured `close_to` address, for downstream plugins that register their own `openchannel` hook.
- Support for CLN's `lsps-lsps2-invoice` RPC, the new name of `lsps-invoice`.

### Changed

- `lsp_invoice` creates a regular invoice instead of negotiating a JIT channel when the node already has enough incoming capacity, with a 5% buffer for fees.
- LSPs are picked in `node_id` order instead of at random, and LSPs that return no opening fee parameters are skipped.
- Signer state is synced incrementally, with a full re-sync when a conflict is detected.
- A channel is used for sends, invoices, route hints and channel waits only when it is in `CHANNELD_NORMAL` and either has a short channel id or has held funds for us. Incoming payments are no longer routed into JIT channels the LSP may have abandoned.
- New nodes get a longer startup timeout, avoiding spurious `No such file or directory` errors while the node initializes its database.
- A node blocked on onchaind signing requests, `GET_PER_COMMITMENT_POINT` or `FORGET_CHANNEL` reports itself as stuck, so the signer is summoned instead of the session idling until its time limit.
- Updated `gl-client` to 0.8.0.

### Fixed

- Use checked fee arithmetic for trampoline payments, rejecting invalid percentages and amount overflow.
- Preapprove invoice-backed `sendpay` calls before offering HTLCs, while the signed request context is still available to the signer.
- Waiting for a channel fails as soon as the channel is closed or abandoned, instead of waiting until the deadline.
- Invoice creation no longer hangs while peers are reconnected after a signer attaches. Peers are dialed in parallel on their own RPC connections with a 30s timeout, instead of one after the other on the connection `lsp_invoice` also uses, where a single unreachable peer stalled it for minutes.
- `lsp_invoice` uses its own RPC connection and gives up after 30s, so an LSP that never answers no longer hangs the invoice and every other RPC call behind it.
- A `signmessage` call no longer blocks all further signing. The signer refuses `SIGN_MESSAGE`, so the RPC is rejected with `Unimplemented` instead of being queued ([#739](https://github.com/Blockstream/greenlight/issues/739)).

### Removed

- Legacy client-side LSPS2 `htlc_accepted` hook — JIT channel fee handling is now performed natively by CLN
- Remove `Decodepay` rpc, deprecated in v24.11.
- Compatibility code for nodes older than v25.12gl1.

## [0.3.1] - 2026-01-16

Expand All @@ -23,5 +48,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Added message type 28 (`hsmd_check_pubkey`) to the list of sticky signer request.
- Updated gl-client dependency to support CLN v25.12 signer.

[0.4.0]: https://github.com/Blockstream/greenlight/releases/tag/gl-plugin-v0.4.0
[0.3.1]: https://github.com/Blockstream/greenlight/releases/tag/gl-plugin-v0.3.1

4 changes: 2 additions & 2 deletions libs/gl-plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gl-plugin"
version = "0.3.1"
version = "0.4.0"
edition = "2021"
authors = ["Christian Decker", "The Greenlight Team"]
description = "Python bindings for the Greenlight client library."
Expand All @@ -22,7 +22,7 @@ cln-plugin = "^0.1"
cln-rpc = { workspace = true }
env_logger = "^0.7.1"
futures = "0.3"
gl-client = { version = ">=0.6.0, <0.8.0", path = "../gl-client" }
gl-client = { version = "0.8", path = "../gl-client" }
gl-util = { version = "0.1", path = "../gl-util" }
governor = { version = "0.5", default-features = false, features = ["std"] }
hex = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion libs/gl-sdk-android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ kotlinx.atomicfu.enableNativeIrTransformation=true

kotlin.mpp.enableCInteropCommonization=true

libraryVersion=0.5.0
libraryVersion=0.5.1
7 changes: 7 additions & 0 deletions libs/gl-sdk-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

## [0.4.1] - 2026-11-18

### Changed

- Updated `gl-sdk` to 0.5.1.

## [0.4.0] - 2026-10-12

### Changed
Expand All @@ -24,5 +30,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Updated gl-sdk dependency (builder-style Node creation, LNURL support, diagnostic data, on-chain preview, error codes)
- Adapted `onchain_send` command for new optional `sat_per_vbyte` and `utxos` parameters

[0.4.1]: https://github.com/Blockstream/greenlight/releases/tag/gl-sdk-cli-v0.4.1
[0.4.0]: https://github.com/Blockstream/greenlight/releases/tag/gl-sdk-cli-v0.4.0
[0.3.0]: https://github.com/Blockstream/greenlight/releases/tag/gl-sdk-cli-v0.3.0
4 changes: 2 additions & 2 deletions libs/gl-sdk-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gl-sdk-cli"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
description = "CLI wrapper for gl-sdk"
license = "MIT"
Expand All @@ -14,7 +14,7 @@ name = "glsdk"
path = "src/bin/glsdk.rs"

[dependencies]
glsdk = { version = "0.5.0", path = "../gl-sdk", package = "gl-sdk" }
glsdk = { version = "0.5.1", path = "../gl-sdk", package = "gl-sdk" }
bip39 = { version = "2.2", features = ["rand"] }
clap = { version = "4.5", features = ["derive"] }
dirs = "6.0"
Expand Down
4 changes: 2 additions & 2 deletions libs/gl-sdk-napi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gl-sdk-node"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
license = "MIT"

Expand All @@ -16,7 +16,7 @@ napi = { version = "2", features = ["async", "tokio_rt"] }
napi-derive = "2"

# Use local gl-sdk (library name is 'glsdk')
glsdk = { version = "0.5.0", path = "../gl-sdk", package = "gl-sdk" }
glsdk = { version = "0.5.1", path = "../gl-sdk", package = "gl-sdk" }

# Additional dependencies that gl-sdk uses
tokio = { version = "1", features = ["full"] }
Expand Down
4 changes: 2 additions & 2 deletions libs/gl-sdk-napi/package-lock.json

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

2 changes: 1 addition & 1 deletion libs/gl-sdk-napi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@greenlightcln/glsdk",
"version": "0.3.0",
"version": "0.3.1",
"description": "Node.js bindings for Blockstream Greenlight SDK",
"author": "The Greenlight Team",
"main": "index.js",
Expand Down
5 changes: 4 additions & 1 deletion libs/gl-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

## [0.5.1] - 2026-11-18

### Changed

- Updated `gl-client` to 0.8.0, which brings VLS 1.0.0-rc.1, the signer's per-payment and on-chain fee budgets, and `lightning-invoice` 0.34.
- `Node.send` and `Node.lnurl_pay` set CLN's `maxfee` to the larger of 1,000 sat and 0.5% of the payment principal, matching the signer's default routing policy for fixed and amountless invoices.

- iOS (Kotlin and Swift): a Rust panic in the SDK reaches the app as an exception instead of aborting it, as it already does on Android. The Android and iOS libraries unwind on panic, unlike the workspace's release profile.

### Security
Expand Down Expand Up @@ -91,6 +93,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

- Updated gl-client dependency to support CLN v25.12 signer.

[0.5.1]: https://github.com/Blockstream/greenlight/compare/gl-sdk-v0.5.0...gl-sdk-v0.5.1
[0.5.0]: https://github.com/Blockstream/greenlight/compare/gl-sdk-v0.4.0...gl-sdk-v0.5.0
[0.4.0]: https://github.com/Blockstream/greenlight/compare/gl-sdk-v0.1.1...gl-sdk-v0.4.0
[0.1.1]: https://github.com/Blockstream/greenlight/releases/tag/gl-sdk-v0.1.1
Loading
Loading