Infrastructure
LND 0.21.8 preserves channel recovery state—but some failed batches still need manual cleanup
LND 0.21.8-beta fixes ambiguous channel-funding cleanup and an update-log overflow, while documenting a manual-cleanup edge case for permanently failed batches.
By CoinPressroom automated news desk ·
AI-assisted briefing, automatically published after source and duplication checks. Event date: 2026-11-11. Not investment advice.
A maintenance release for channel-state edge cases
Lightning Network implementation LND released version 0.21.8-beta on November 11 with no database migration, but several fixes touch how nodes preserve channel and payment state during failures. The release tag is signed, its binary manifest can be checked with GPG and SHA-256, and the project now publishes OpenTimestamps proofs for both the tag and manifest signature.
The release notes say the earlier v0.21.7-beta tag and Docker image correspond to the same build and remain safe to use; v0.21.8 corrects release metadata and notes. That distinction matters for operators comparing versions: the new number does not represent a second code change after 0.21.7.
Late funding errors no longer discard recovery state
The most consequential operational change covers batch channel funding. A wallet backend can submit the funding transaction to the network and then return an error. Earlier behavior treated any such error as proof of failure, abandoned the pending channels and explicitly released their input leases—even though the transaction could still confirm onchain.
LND now treats entry into PublishTransaction as the point after which the outcome may be ambiguous. It retains pending-channel state and input leases so a transaction that reached the network can still be watched and recovered. The RPC continues to return the publication error, and the patch does not make retries idempotent or guarantee automatic republication after restart.
The fix deliberately leaves a cleanup tradeoff
If the transaction is permanently unpublishable, the retained pending channels currently require manual cleanup after the operator verifies that the transaction was not published and cannot later confirm. The maintainers explicitly warn that a timeout alone is not sufficient evidence for safe abandonment. This is safer than discarding state too early, but it means the repair favors recoverability over automatic cleanup.
A separate channel-database fix rejects an unsigned acknowledged-update list once it exceeds the 16-bit count that stores its length. At 65,536 entries, that count could wrap to zero while the serializer still wrote every entry; after restart, the node could load an empty list and omit a previously settled HTLC from reconstructed commitment state. The new reader can recover complete older lists only when their trailing data matches the wrapped count, and rejects malformed records.
Other operator-facing changes and limits
The release also rejects duplicate peer channel aliases, keeps sweep inputs available after unknown or transient mempool failures, bounds wallet input selection for sweeps and improves recovery of forwarded HTLCs across reconnects. An unconfirmed channel now sends channel_reestablish after reconnect instead of leaving a peer waiting and taking its other channels offline.
These are correctness and recovery fixes, not a disclosed theft incident. The reviewed sources assign no CVE, report no exploitation and publish no estimate of affected nodes or funds. Operators still need normal release verification, backups and a tested recovery process; “no database migration” lowers upgrade friction but does not make an upgrade risk-free.
Sources
- LND v0.21.8-beta release and verification instructions — primary source
- LND 0.21.8 release notes — primary source
- LND PR 11479: preserve funding batch state after publish errors — primary source
- LND PR 11482: reject oversized unsigned acknowledged update logs — primary source
- Freedom.Tech release tracker: LND 0.21.8-beta