Changed
- cap per-hop CLTV delta at
500blocks and total route CLTV delta at1008blocks during pathfinding to prevent excessive HTLC lockups andsendpayrejections sling-job/sling-once: validatetargetis within0.0..=1.0and capmaxhopsat20(matching the BOLT 4 limit)sling-candidates-min-age: fixed option description fromdaystoblocks
Fixed
- Security: validate incoming rebalance HTLCs in
htlc_acceptedagainst CLN'scltv-final, the onion'soutgoing_cltv_value, a per-rebalancepayment_secret, and final-hop onion fields before releasing the preimage - fixed a race on fast routes where an incoming rebalance HTLC could arrive before
sendpayreturned, causing the job to stop withWIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS sling-once: fixed race allowing duplicate concurrent runs on rapid calls, infinite retry loops on fatal errors, premature removal from channel exclusions whenparalleljobs > 1, and over-rebalancing when a payment times out after its preimage was already released- fixed inbound-fee pathfinding so negative inbound fees can no longer mask expensive upstream channels, and fixed first-hop inbound-fee lookup for
pushjobs - fixed
WAITSENDPAY_TIMEOUTliquidity updates mistakenly constraining our own first outgoing channel instead of intermediate hops - fixed rebalance jobs stopping on
askrene-inform-channelerrors (e.g. when thexpaylayer does not exist yet) or whenwaitsendpayomits optional error fields (e.g. unparseable onion failures), and only inform askrene onWIRE_TEMPORARY_CHANNEL_FAILURE - fixed private channel SCID alias handling for incoming HTLC resolution (
alias.local) and temporary channel bans - fixed candidate selection ignoring
spendable_msat/receivable_msat(channel reserves and pending HTLCs) - fixed
sling-except-chan removebeing able to remove active job channels from exclusions - prevented
jobs.jsonfrom being wiped on parse errors or transientlistpeerchannelsfailures, and writejobs.jsonatomically - fixed gossip reader hangs on partial records at EOF and cleared stale closed channels after missed gossip store compactions
- fixed
sling-reset-liquidity-intervalchanges viasetconfignot taking effect in the askrene liquidity task - fixed potential overflows/underflows in
sling-statsweighted fee averages,sling-candidates-min-agelogging, andpushjobs withsling-max-htlc-count > 65535
Release binaries info
- Release binaries were built using rust 1.100.0
- Linux release binaries require glibc>=2.35 (check yours with
ldd --version) - macOS universal binary (x86_64 + aarch64), requires macOS >= 11.0 (deployment target)