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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
### 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

Expand Down
11 changes: 11 additions & 0 deletions libs/gl-client/src/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,17 @@ impl Signer {
let mut policy =
lightning_signer::policy::simple_validator::make_default_simple_policy(network);

// The default floor of 253 sat/kw (~1 sat/vB) is meant for stacks
// where the signer builds its own sweeps. In Greenlight all sweep
// transactions, including justice sweeps, are built by CLN, which
// applies its own backend-derived feerate floor and worth-it checks
// before requesting the signature. During quiet-fee periods CLN's
// estimates fall below 253 sat/kw, and the signer then hard-fails
// `SIGN_PENALTY_TO_US` with 'feerate below minimum', stranding the
// sweep. Keep a sanity floor that still rejects zero-fee or absurdly
// low txs but never contradicts CLN's own fee policy.
policy.min_feerate_per_kw = 75;

policy.filter = PolicyFilter::default();
policy.filter.merge(PolicyFilter {
// TODO: Remove once we have fully switched over to zero-fee anchors
Expand Down
Loading