find_latest_snp

Function find_latest_snp 

Source
pub fn find_latest_snp<G>(
    graph: &G,
    ori: NodeId,
) -> Result<Option<(NodeId, u64)>>
Expand description

Given a graph and an origin node in it, return the node id and timestamp (as a number of seconds since Epoch) of the most recent snapshot of that origin, if it exists.

Note: only visit with status Full are considered when selecting snapshots.