Skip to content

node: open DHT with a 60% subscribed quota in K-closest selection #2951

Not planned

Description

@alpergundogdu

Summary

Every registered operator joins routing tables, answers FIND_NODE, stores records and serves. Records are protected by one rule in K-closest selection, applied by whoever stores or looks up a record: at least 60% of the K peers it uses are subscribed.

Design

Because the subscribed peers come from the chain rather than the routing table, Sybil NodeIds ground next to a hash can take only the open slots. A record stays findable through its subscribed copies when every free holder drops it.

Docs

ADR 022 (admission, K-closest selection), ADR 019.

Tests

  • The quota with many, few and no subscribed peers.
  • Sybil NodeIds next to a hash take only the open slots.
  • A record stays findable when every free holder drops it.
  • Unregistered contacts rejected.

Depends on

#2950.

Activity

  1. added
    kind:feature
    area:node
    area:protocol
    on Nov 23, 2026
  2. moved this from Backlog to Done in deCDNon Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:nodearea:protocolkind:feature

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions