Add APIs to prune completed state for LSPS1/LSPS2/LSPS5

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

@tnull がすでに取り組んでいます。

2026年3月24日 から。

  • #4526 @f3r10 による — マージされずにクローズ

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
32/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

This asks for prune APIs (manual and/or time-based) for completed LSPS1/LSPS2/LSPS5 channel-order state that is currently kept forever. Start from the LSPS service modules that persist completed orders and from any existing public API surface for those services. A closed unmerged PR (#4526) already exists, so read that thread before duplicating work. Done means callers can drop historical completed state without breaking live orders, with tests covering prune behavior.

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

説明

lightning-liquidity

Currently, our LSPS1/2 services keep completed channel orders around indefinitely. While it is a reasonable default to keep track of historical orders, users def. could eventually run into scenarios where they want to prune historical state.

We should expose APIs to do so, either by manual user intervention, or maybe allow them to configure a time interval in which historical data is pruned.

主要言語
Rust
スター
1.4k
フォーク
482
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

lightningdevkit/rust-lightning のほかの issue

lightningdevkit/rust-lightning の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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