You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
node: open DHT with a 60% subscribed quota in K-closest selection #2951
area:nodedecdn-node daemon: runtime, handlers, admin RPC, serve patharea:protocolWire format, ALPNs, discovery/DHT, probekind:featureNew capability or a change to current behavior
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.
K-closest selection for STORE targets and FIND_VALUE queries: the ⌈subscribedShare × K⌉ subscribed peers closest to the hash, computed locally from the subscribed set (node: project the registered and subscribed sets from OperatorRegistry #2950), then the closest remaining peers of any kind up to K. With fewer subscribed peers, use all of them.
Accept returned contacts only if they are in the registered set.
subscribedShare defaults to 60%, in node config.
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.
area:nodedecdn-node daemon: runtime, handlers, admin RPC, serve patharea:protocolWire format, ALPNs, discovery/DHT, probekind:featureNew capability or a change to current behavior
Activity