MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / replica

Function replica

nodedb-array/src/sync/schema_crdt.rs:243–245  ·  view source on GitHub ↗
(id: u64)

Source from the content-addressed store, hash-verified

241 use crate::types::domain::{Domain, DomainBound};
242
243 fn replica(id: u64) -> ReplicaId {
244 ReplicaId::new(id)
245 }
246
247 fn generator(id: u64) -> HlcGenerator {
248 HlcGenerator::new(replica(id))

Calls

no outgoing calls