Consider adding an extra monitor update upon ChannelManager::funding_transaction_signed
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 22/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
- 領域
- backend, blockchain
調査の方向性
The failure is a crash after ChannelManager::funding_transaction_signed without persisting ChannelManager, then aborting a splice while the peer has already sent tx_signatures. Start from funding_transaction_signed and Event::FundingTransactionReadyForSigning, and from how ChannelMonitor is updated relative to ChannelManager. Done means an extra monitor update so canceling the splice does not force-close once manager/monitor desync is no longer itself a force-close. This needs Lightning channel and persistence knowledge; the issue is 250 days quiet.
索引モデルが issue の本文から書いたものです。
説明
@TheBlueMatt pointed out in #4336 a case where we end up with a force close when canceling a splice:
tx_completeis exchanged- Node 1 handles
Event::FundingTransactionReadyForSigning, callsfunding_transaction_signed, and sends itscommitment_signed - Node 2 processes it, and sends its own
commitment_signedandtx_signatures - Node 1 crashes without persisting the latest
ChannelManager, and needs to handleEvent::FundingTransactionReadyForSigningagain - Node 1 chooses to cancel the splice this time around and sends
tx_abort - Node 2 has already committed to the funding transaction via their
tx_signatures, so they can'ttx_abortback and force closes instead
Note that that is only worth fixing once we no longer force close due to a desync between the ChannelManager and ChannelMonitor persisted state.
- 主要言語
- Rust
- スター
- 1.4k
- フォーク
- 482
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lightningdevkit/rust-lightning のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
lightningdevkit/rust-lightning#4767 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
lightningdevkit/rust-lightning#1849 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
lightningdevkit/rust-lightning#4764 · コメント 3 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 22/100
lightningdevkit/rust-lightning#4757 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
lightningdevkit/rust-lightning#4739 ·
lightningdevkit/rust-lightning の issue をすべて見る
似ている issue
-
bug help wanted ui
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
userFRM/egui-charts#4292 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
Tripstack-Corp/spyc#1352 ·
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
area:tui enhancement P2
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
agent-of-empires/agent-of-empires#6077 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信