itsgoin/crates/core/src
Scott Reimers 0b2b4f5a68 Phase 2b (0.6.1-beta): dual-write file_holders on all propagation events
Populate the flat holder set alongside every existing post_upstream /
post_downstream / blob_upstream / blob_downstream write so that read
paths can be switched over in the next commit without losing continuity.

Events wired:
- Pull sync receive (3 paths in connection.rs)
- PostPush receive (public posts only after Phase 1)
- PostFetch via notification (discovery pull)
- PostDownstreamRegister
- Replication accept (downstream) + replication-driven pull (upstream)
- Attachment upstream recorded after replication blob fetch
- ManifestPush receive (remote is a CID holder)
- ManifestPush send (downstream peer becomes CID holder)
- Blob fetch fallback (upstream lateral sources)

Direction is tracked as Received vs Sent. Not load-bearing for routing;
retained for future use. LRU cap of 5 enforced on every touch.

Legacy upstream/downstream writes remain in place; they'll go away
together with the table drops at the end of this phase.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 20:56:28 -04:00
..
activity.rs ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
blob.rs v0.3.6: Active CDN replication, device roles, budgets, tombstones, engagement fix, DOS hardening 2026-03-20 21:00:28 -04:00
connection.rs Phase 2b (0.6.1-beta): dual-write file_holders on all propagation events 2026-04-21 20:56:28 -04:00
content.rs ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
crypto.rs v0.4.1: Security hardening, lock contention fixes, data cleanup 2026-03-21 19:30:38 -04:00
export.rs Export/Import: ZIP export with scope selection, import with public post merge 2026-03-31 20:56:03 -04:00
http.rs Clean up warnings: remove dead code, unused imports 2026-03-22 23:38:18 -04:00
identity.rs First-run chooser, node shutdown on switch, file picker, export path fix 2026-04-06 01:58:02 -04:00
import.rs AppImage video fix, proper import posts, first-run chooser, file pickers 2026-04-16 13:49:52 -04:00
lib.rs Export/Import: ZIP export with scope selection, import with public post merge 2026-03-31 20:56:03 -04:00
network.rs Phase 2b (0.6.1-beta): dual-write file_holders on all propagation events 2026-04-21 20:56:28 -04:00
node.rs Phase 2b (0.6.1-beta): dual-write file_holders on all propagation events 2026-04-21 20:56:28 -04:00
protocol.rs Feed pagination, duplicate identity detection, pkarr leak fix, Android SAF 2026-04-18 15:35:23 -04:00
storage.rs Phase 2a (0.6.1-beta): add file_holders table + legacy seed migration 2026-04-21 20:52:30 -04:00
stun.rs Our Info panel, hole punch race fix, NAT profiles in relay introduction 2026-04-05 17:57:41 -04:00
types.rs v0.5.0-beta: merge-with-key import, prior_author provenance, beta versioning 2026-04-05 14:47:24 -04:00
upnp.rs ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
web.rs v0.4.3: Lock contention overhaul, StoragePool, mobile bottom nav, text scaling 2026-03-22 21:35:38 -04:00