Node rating model

Aperta
#162 3 commenti 17 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
go

Direzione di ricerca

Non sono indicati file, test o punti di ingresso. Inizia esaminando l’attuale dipendenza di Pool da BOS e il modo in cui vengono ottenuti i suoi input per la valutazione dei nodi, quindi confronta tale comportamento con i criteri proposti relativi a uptime, connettività, commissioni, anzianità, capacità e raggiungibilità. Per considerare il lavoro completato sarebbero necessari un modello di valutazione concordato e un modo definito per consentire ai proprietari dei nodi di ispezionarlo o modificarlo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
256
Fork
53
Merge medio
20h 22m
PR unite (30g)
5

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lightninglabs/pool

Tutte le issue di lightninglabs/pool

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.