Skip to main content

Module hlc

Module hlc 

Source
Expand description

Hybrid logical clock: (physical_ms, counter, node_id).

Structs§

Hlc
Hybrid logical clock. physical_ms is the caller’s Unix-ms (now_ms in tests).
NodeId
A node’s id in the log and on the clock (the peer id string).