Skip to content

Drop aggregated reputation; make ADR 008 reputation local-only #1419

Closed

Description

@alpergundogdu

Proposal

Drop the aggregated ("Network") reputation tier from ADR 008 and make reputation local-only: each node ranks its peers solely from its own delivery observations (per-peer EWMA), with no gossip propagation and no cross-node aggregation — the BitTorrent tit-for-tat model.

Why

The gossip-propagated, reporter-weighted network score was the overengineered part of ADR 008. A shared, aggregated score has three structural problems:

  1. It fights load balancing. A shared global score is a herding function — everyone converges on the same "good" nodes, concentrating load and starving cold/new nodes. A local score keeps a never-used peer at neutral 0.5 and fully selectable, so traffic keeps exploring (the role BitTorrent gives optimistic unchoking). ADR 001's node-selection uses a quadratic reputation penalty, which amplifies convergence when the input is a shared value.
  2. It amplifies incumbency. Reporter-credibility weighting gave established, high-settled-value nodes up to 3× influence over everyone else's scores — incumbency baked into the routing layer. The weight cap, per-report clamp, and decay were all machinery to bound a centralizing force the tier itself introduced.
  3. It's a permanent, live attack surface. Eclipse attacks (hence the min-reporter threshold), coordinated negative-gossip, replay windows, clock-sync dependency, and wash-trading-for-reputation (hence distinct-counterparty + settled-value + decay) — none of these exist if reputation is local-only. Every mitigation is itself code + governance parameters to maintain forever.

All of that bought 30% weight on a signal ADR 008 itself described as subjective and non-converging. And reputation was never the Sybil/corruption defense: stake + capacity bond + mandatory progressive BLAKE3 verification + no-pay-on-failed-delivery are. Reputation only tunes each client's own selection probability.

Empirical backing: BitTorrent has no global/aggregated reputation — just local tit-for-tat choking plus optimistic unchoking — and scales to millions of peers. A P2P content system does not need cross-node reputation aggregation to function.

What changes

  • Removed: the Network tier, regional-coverage signal, distinct-counterparty discount, settled-value time decay, minimum-reporter threshold, cdn/reputation/v1 topic, ReputationReport, the settlement→reporter-weight indexer, and the admin_v1_reputation RPC + decdn node reputation CLI.
  • Kept: local per-peer EWMA scoring, decay-to-neutral, the ±0.05 per-report clamp, and the ADR-001 node-selection penalty (now fed by the local score).

Trade-off accepted

A node learns a peer is unreliable only by interacting with it — no early warning from others' experience. This is bounded: BLAKE3 verification + no-pay-on-failure cap a bad interaction at ~one unpaid window of wasted ingress, and provable faults are handled by slashing (ADR 028), not reputation. Network-wide avoidance of a merely mediocre node is not automatic, which is acceptable.

Alternatives considered

  • Keep it deferred (status quo before this): the tier was fully specified in ADR 008 and partially implemented, framed as "deferred". Rejected — it was live attack surface and design weight for a signal we don't want, so it's dropped rather than parked.
  • Keep local-only + retain the regional-coverage signal via an off-chain indexer. Not pursued: no ADR consumer referenced the coverage signal outside ADR 008 itself, so removing it stranded nothing.

Implemented in #1418.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions