Feature Request: Scripts to Convert Impl Graphs to Sim Files

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

@Godwin-88 がすでに取り組んでいます。

2026年5月15日 から。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python, rust
領域
cli, tooling

調査の方向性

まず、issue にリンクされている既存の setup/lnd_to_simln.py スクリプトと、sim-ln が simulation mode で simfiles をどのように読み込むかを確認します。サポートする各実装に固有のグラフ形式とスクリプトインターフェースを、オプションの出力パスを含めて定義します。各サポート対象実装に、グラフダンプから実行可能な simfile を生成するスクリプトがあれば完了です。

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

説明

feature good first issue

Describe desired feature

Add tooling scripts that convert graph dumps from each of the supported implementations into a simfile that can run sim-ln in simulation mode with that graph.

Args:

  • Input file: path to the graph file that needs to be converted
  • Output file: optional path that simfile should be written to (some sensible default if not set)

I'd see us supporting one script per LN impl, since each has different output formats.

Use case for feature

If you're just looking to run something on mainnet (or a reduced version of the mainnet graph), build in scripting like this will massively reduce friction to using the simulator.

I have an ugly version of this for LND which needs cleaning up. Maybe we want this to be a bash script rather than python - open to arguments in either direction!

Would you like to contribute code for this feature?

No - up for grabs!

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

環境構築

はじめの一歩

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

bitcoin-dev-project/sim-ln のほかの issue

bitcoin-dev-project/sim-ln の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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