Skip to main content

decode_geo_epoch

Function decode_geo_epoch 

Source
pub fn decode_geo_epoch(bytes: Option<&[u8]>) -> Option<u64>
Expand description

Decode a persisted geo-index epoch.

An absent or malformed value decodes to None. Note that this is the RAW epoch read: callers wanting the TRUST decision must go through crate::Storage::geo_index_epoch, which additionally requires the liveness marker.