Document podcast replica eviction and contact verification

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sanapachandClaude Opus 5.5 committed 2026-11-19 18:50:22 +02:00
1 parent c0def74115
commit 912527a671
3 files changed
+57 -26

No files matched your search

+6 -3
View File
@@ -251,9 +251,12 @@ per normalized title/author token; unpublishing writes a signed tombstone of
the next revision that supersedes lower and equal revisions on replicas that
hold it, for the keys it lists, and outlives every older card. Only a record's
publisher may store it; replicas keep one payload per publisher and podcast,
admit placements only for keys they are close to, within per-key,
per-publisher and total budgets, and never evict existing records for
newcomers (tombstones cannot displace cards). Records use the music DHT's
admit placements only for keys they are close to (counting only contacts that
answered or authenticated, never ones another peer suggested), within per-key,
per-publisher and total budgets. A key holds no more records than one response
carries; a full key or cache admits a newcomer by evicting a random record from
its younger half, so the older half survives floods and capacity is never
first-come-forever (over their budget, tombstones only displace other tombstones). Records use the music DHT's
active/tombstone TTLs and republish cadence, are verified on every receive and
cache read, and are kept in a separate, replaceable SQLite cache. Search
filters on every replica by all query tokens, merges cards of one podcast