Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ replica
Function
replica
nodedb-array/src/sync/op_log.rs:137–139 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
135
use crate::types::coord::value::CoordValue;
136
137
fn replica() -> ReplicaId {
138
ReplicaId::new(1)
139
}
140
141
fn hlc(ms: u64, logical: u16) -> Hlc {
142
Hlc::new(ms, logical, replica()).unwrap()
Callers
1
hlc
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected