Bitcoin Lightning developers patch bug that could make completed payments disappear
Source: CryptoSlate — Read the original ↗
Summary
Developers of LND, a widely used Bitcoin Lightning implementation, patched a bug that could make nodes lose track of settled payment records after a restart. The flaw came from a counter that reset at 65,536 entries when saving and restoring channel updates. Fixed versions v0.21.8-beta and v0.20.8-beta were released on Nov. 11. Developers found a way peers could trigger the overflow, but it is unknown whether any live node hit it.
Key points
- Bug could rebuild incomplete records even though data remained on disk
- Counter overflow at 65,536 entries could drop a settled HTLC
- Patched in LND v0.21.8-beta and v0.20.8-beta
- Real-world impact before the fix remains unknown
Why it matters: Lightning node operators should upgrade to keep channel accounting consistent.
Tóm tắt
Các nhà phát triển LND, bản triển khai Lightning phổ biến của Bitcoin, đã vá lỗi khiến node có thể mất dấu các khoản thanh toán đã tất toán sau khi khởi động lại. Lỗi đến từ một bộ đếm bị reset ở mốc 65.536 mục khi lưu và khôi phục cập nhật kênh. Các bản sửa v0.21.8-beta và v0.20.8-beta phát hành ngày 11/11. Nhà phát triển tìm ra cách peer có thể kích hoạt lỗi tràn số, nhưng chưa rõ node thực tế nào bị ảnh hưởng.
Điểm chính
- Node có thể dựng lại hồ sơ thiếu dù dữ liệu vẫn trên ổ đĩa
- Tràn bộ đếm ở 65.536 mục có thể bỏ sót HTLC đã tất toán
- Đã vá trong LND v0.21.8-beta và v0.20.8-beta
- Chưa rõ tác động thực tế trước bản vá
Vì sao quan trọng: Người vận hành node Lightning nên nâng cấp để giữ sổ sách kênh nhất quán.
摘要
比特币闪电网络常用实现LND的开发者修复了一个漏洞,该漏洞可能导致节点重启后丢失已结算支付记录。问题源于保存和恢复通道更新时一个计数器在65,536条时归零。修复版本v0.21.8-beta和v0.20.8-beta于11月11日发布。开发者发现对等节点可触发该溢出,但尚不清楚是否有实际节点受影响。
要点
- 即使数据仍在磁盘上,节点也可能重建不完整记录
- 计数器在65,536条溢出,可能遗漏已结算HTLC
- 已在LND v0.21.8-beta和v0.20.8-beta中修复
- 修复前的实际影响尚不明确
为何重要: 闪电节点运营者应升级以保持通道账目一致。
Original summary written by VolumeVein from the publisher’s article; no full text is republished. Facts belong to the original report — read it for full context. Not financial advice.
Read the full article on CryptoSlate ↗