Core Lightning onchaind failed to resolve 3,043,561 sats after remote-initiated splices
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with the reported onchaind messages, the three funding-spend transaction IDs, and the affected output indexes. Compare the outputs’ listchainmoves and listfunds state and investigate the rejected dev-rescan-outputs command, without restoring the backup or broadcasting a transaction. Done means identifying a supported recovery or reindexing procedure and confirming the outputs are safely handled.
由索引模型根据 Issue 内容生成。
描述
Hello,
I’m running StartOS 0.4.0.1 with Core Lightning 26.06.8:3 on Bitcoin.
Three channels recently went through remote-initiated splice operations. In each case, the channel briefly returned to CHANNELD_NORMAL, then received a protocol error and went on-chain.
Affected channels:
969219x39x0
969244x29x1
969290x93x0
The observed sequence was:
- The channel reached
CHANNELD_NORMAL. - The remote peer initiated a splice.
- The splice completed.
- The channel returned briefly to
CHANNELD_NORMAL. - CLN received a protocol
ERROR. - The channel entered
AWAITING_UNILATERAL. - The remote peer spent the funding transaction.
- CLN’s
onchaindfailed to resolve some outputs.
The relevant CLN log message was:
Could not find resolution for output 2: did *we* cheat?
Could not find resolution for output 3: did *we* cheat?
CLN later logged:
onchaind complete, forgetting peer
The funding-spend transactions were:
f54914b3b3bea085ad13ba28414423c833ac42142c66db62a4a767b04129bb14
ffa608bc6c672ed7d6dfd161ca537bbc1579df7c2da575e52806cabcdac30ff8
c4e0b155116be1d96f7d5fc540a9f0a97fb2bc857a44b7ff45c4c7c58ed8c076
The local outputs identified by CLN are:
f54914...:3 1,229,771 sats confirmed at block 969222
ffa608...:3 1,229,171 sats confirmed at block 969247
c4e0b1...:2 584,619 sats confirmed at block 969296
Total:
3,043,561 sats
These outputs are now past the apparent CSV delay. However:
- They remain credited in
listchainmoves. - Each still has
debit_msat: 0. - They do not appear in
listfundsas wallet outputs. - No sweep transaction has been created.
- CLN is fully synced.
- The node is still running and has active channels.
- The funds have not been manually spent or moved.
I attempted:
dev-rescan-outputs
but CLN rejected it because developer-only commands are disabled.
I also upgraded CLN to 26.06.8:3. The upgrade did not resolve the outputs, but the node identity and channel database remained intact. I have a StartOS service backup from September 21, although it predates these splice events.
I have not:
- Deleted the CLN database.
- Restored the backup.
- Manually spent the outputs.
- Shut down the node.
- Broadcast any recovery transaction.
Could someone advise on the supported recovery procedure?
Specifically:
- Is this a known splice or
onchaindresolution issue in CLN26.06.8:3? - Can the broken
onchaindstate be repaired or reindexed? - Is there a supported way to rescan or re-register these mature outputs?
- Should the September 21 StartOS backup be provided or inspected?
- What is the safest way to recover the outputs without constructing or broadcasting an unsafe manual transaction?
- Is there any additional diagnostic information I should collect?
- 主要语言
- C
- 星标
- 3.1k
- 派生
- 1k
- 平均合并
- 3 天 10 小时
- 30 天内合并 PR
- 40
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ElementsProject/lightning 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
ElementsProject/lightning#9593 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ElementsProject/lightning#9322 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ElementsProject/lightning#9206 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ElementsProject/lightning#9187 · 1 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
QA
难度 1/5 1 小时以内 新手友好度 88/100
ElementsProject/lightning#9117 · 2 条评论 ·
维护者通常 2 天内回复
查看 ElementsProject/lightning 的全部 Issue
相似的 Issue
-
CVE-2026-18839 popt: size_t underflow in `singleOptionHelp`可能已有人在做 @pmatilai 于 34 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
rpm-software-management/popt#143 ·
-
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 1/5 1 小时以内 新手友好度 85/100
libretro/mupen64plus-libretro-nx#663 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 65/100
dkfans/keeperfx#5415 · 1 条评论 ·
维护者通常 1 天内回复