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
Implement content discovery via cdn/dht/v1 Kademlia DHT #320
ADR 022 specifies a Kademlia DHT for O(log N) content location. Without content discovery, clients cannot find which nodes hold a given blob — they would need to probe every peer.
On CacheEngine insert → publish StoreRequest to k closest nodes
On client lookup → iterative FindValue until providers found or closest nodes exhausted
TTL: 1 hour on DHT records, garbage-collected periodically
Fallback on DHT miss: on-chain origin directory (PublisherRegistry.namespaceOf → OriginAssignment.getOrigins → StakingRegistry.nodeIdOf). Broadcast probe fan-out is no longer part of the protocol.
Activity
docs(adr): pin cdn/dht/v1 stake check, provider ordering, and stream …
fix(protocol): bound Vec wire fields and reorder DhtMessage to ADR-ca…
feat(node): add cdn/dht/v1 handler, routing table, rate limiter (ADR …
fix(node): address PR #643 review — routing-table poisoning, recursio…
test(protocol): add lower bound + align BatchStore module doc
feat(node): add cdn/dht/v1 handler, routing table, rate limiter (ADR …
fix(node): address PR #643 review — routing-table poisoning, recursio…
fix(node): apply consolidated review fixes from PR #643 multi-agent r…
fix(node,common): address PR #646 multi-bot review (TTL drift, evicti…
fix(node,cache): apply PR #646 round-3 review (correctness + comments…
fix(node): apply PR #647 review (eager publish, K+3 fanout, stop-on-e…
feat(protocol): add cdn/dht/v1 wire types (ADR 022) (PR 1/4 of #320) (#…
feat(node): cdn/dht/v1 handler + routing table + 3-layer rate limiter…
refactor(node): drop dht.static_active_nodes; wire empty StakerSet pe…
feat(node,cache): record store + Store/FindValue + cache hook (PR 3/4…
feat(node): DHT bootstrap, republish scheduler, bucket refresh (ADR 022)
fix(node): apply PR #647 review (eager publish, K+3 fanout, stop-on-e…
feat(node): chain-backed StakerSet + bootstrap + republish + bucket r…
feat(node): iterative FindValue lookup + negative probe cache (PR 5/5…
fix(node): apply PR #673 multi-agent review
feat(node): iterative FindValue lookup + negative probe cache (PR 5/5…
docs: replace planning labels in comments with plain descriptions (#2126