diff --git a/CHANGELOG.md b/CHANGELOG.md index 18e3105d5..10e01b1f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/libs/gl-client/src/signer/mod.rs b/libs/gl-client/src/signer/mod.rs index 707ada9d9..48eb9da75 100644 --- a/libs/gl-client/src/signer/mod.rs +++ b/libs/gl-client/src/signer/mod.rs @@ -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