Skip to content

Clarify unified node selection algorithm combining price, latency, and reputation #6

Closed

Description

@thiras

Priority: Must-fix before implementation

Two ADRs define overlapping but inconsistent node selection criteria:

  • ADR 001: Selection by rate_per_mb × rtt_ms (lower is better)
  • ADR 008: Selection also considers reputation score, load, geographic diversity, stake, with tie-breaking rules

The actual selection algorithm combining these factors is never specified. Questions:

  1. Is it rate_per_mb × rtt_ms first, then reputation as tiebreaker?
  2. Or a weighted composite score incorporating all factors?
  3. At what point does reputation override a better price/latency score?
  4. Does a node with 0.2 reputation ever get selected over a 0.9 reputation node with worse price?

Recommendation

Define a single canonical selection formula, e.g.:

score = (rate_per_mb × rtt_ms) / reputation_score

Or document the exact priority order and when each factor applies.

ADRs affected

  • ADR 001 (Network Topology)
  • ADR 008 (Reputation System)

Activity

  1. added a commit that references this issue on May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

prio:critical

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions