Node rating model

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。まず Pool の現在の BOS 依存関係と、ノード評価の入力値がどのように取得されているかを確認し、その後、その挙動を提案されている稼働時間、接続性、手数料、経過期間、容量、到達可能性の基準と比較します。完了には、合意された評価モデルと、ノード所有者がそれを確認または調整するための定義された方法が必要です。

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

説明

enhancement

To start: very happy with Pool! It's great stuff.

It seems though, that Pool has a dependency on BOS, which over time has appeared to become imperfect:

  • The list is very small. I believe more than 1.7% (246/14585*100) of nodes are good peers. Why not publish a list of 2000 nodes, and have people/nodes/software decide a minimum score to act on (in Pool give a minimum score for example)
  • Criteria are unclear. I believe the list criteria should become open. Earlier thoughts have been that if that was done, people could game the system. I do not believe that's bad, as long as criteria are good ("Oh no! Someone opened 10 channels with low fees to other well connected nodes!" is not something someone would be worried about 😉 ).

Bidders will want to choose:

  1. Nodes with high uptime. A sensor node will have to keep track of this, and this will make the list inherently non-reproducible. We should accept this. 1000 points for
  2. Nodes well-connected. Look at amount of channels, and connectivity to other top-50/100 nodes in last week's list.
  3. Fees, score for fees lower than (mean+20%)
  4. Nodes which are over n (90?) days old
  5. Nodes with a % of capacity of the network
  6. Nodes which are reachable over both tor and clearnet

Sample

Someone should take some time I think, with actual data from the network, and tune these parameters. Output of actual network data could also become variables in calculations (some score being [this node's mean rate] vs [network mean rate]).

An even better idea would be to change the complete model, where one would only get some input (sensor data) from a monitoring node (uptime) and calculate the rest itself. People would use the default model, but would also be able to tune to their liking (some might want more decentralized nodes, not valuing connectivity-to-top15% so high).

Bottom line: I believe the rating model should be more open, and node owners should be able to decide how they rank peers. Lightning Labs could publish an interactive dashboard where node owners could do their calculations, and change their behavior in a way the network likes. Changes to the model ("node age is much more important!", "ipv4 is not worth 50k points but 30k!") would be done in a git repo.

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