Feature Request: Introduce Custom Pathfinding in SimNode

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

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

2025年5月9日 から。

評価

この issue はまだ評価されていません。

説明

feature

Describe desired feature

Right now sim-node simply uses LDK's default pathfinding to find routes for payments that are dispatched in the mocked network.

To vastly expand the use of sim-ln as a library for pathfinding-related use cases, we should provide a way for calling code to provide custom routes instead.

This could be implemented a few ways:

  1. Add an interceptor similar to #255 that sends proposed route and gets back modified one
  2. Provide custom pathfinding in on creation of mocked nodes

Part of this issue will be to spend some time figuring out the best way to implement this.

Use case for feature

This opens up a lot of doors for A/B testing different pathfinding strategies.

Would you like to contribute code for this feature?

I'll review design proposal + code, unlikely to have time to do the code myself!

主要言語
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 を短くまとめたダイジェスト。