Expand description
The v2 in-memory community — the service/DB working type.
Deliberately v2-native rather than reusing v1’s crate::community::Community:
a v1 Channel assumes an independent per-channel key, but a v2 Public Channel
derives its key from the community_root (CORD-03), so the two don’t share a
shape. Both protocols converge instead at the FACADE, where each produces the
same untyped JSON summary the SDK consumes — so dual-stack costs no SDK type
change (a version field is the only tell).
Structs§
- Channel
V2 - A channel as the v2 service holds it. A Public channel’s secret is the
community_root(key == None); a Private channel carries its own independent key at its own monotonic epoch. - Community
V2 - A v2 community in memory: its self-certifying identity, base access key, and
channels. Persisted via
crate::db::community’s v2 helpers into the shared community tables (with the migration-65 columns).