reset/cleanup lnd state when canceled Pool actions occur (open channel etc)

オープン
#456 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go

調査の方向性

ファイルやテストは指定されていません。まず、Pool がキャンセルされたバッチアクションをどのように処理し、lnd と通信するかを追跡します。キャンセルされたチャネルのオープンとスプ​​レンドによって lnd がリセットされた状態になり、新しい Pool トランザクションを直ちに作成できるようになれば完了です。

索引モデルが issue の本文から書いたものです。

説明

batch batch execution optimization

Expected behavior
If Pool backend cancels a batch (one of the set of trader doesn't perform the batch's instructions), Pool should instruct lnd to return to a state where the node is reset to be able to create a new transaction with their pool funds (say, open a Pool channel immediately).

Actual behavior
Pool doesn't instruct lnd to reset state/channels when batches are canceled. Channel opens, and spends will persist in their unexecutable form (Due to a cancel batche) until Pool client receives the next batch-creation instructions from Pool server.

Waiting to reset lnd's state until Pool server instructs the client to perform and time critical action (batch creation) is subpary and likely causes delay and dysfunction in subsequent batch creation

Remediation:
Reset/cleanup lnd state when canceled Pool actions occur (open channel etc)

主要言語
Go
スター
256
フォーク
53
平均マージ
20時間 22分
マージ済み PR(30日)
5

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lightninglabs/pool のほかの issue

lightninglabs/pool の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。