load_ledger_nodes_from_dir

Function load_ledger_nodes_from_dir 

Source
pub fn load_ledger_nodes_from_dir(graph_dir: &Path) -> Result<Vec<LedgerNode>>
Expand description

Loads all existing LedgerNode entries from .ctbnodes chunk files in graph_dir.

When graph_dir is <repo_root>/assets/data/graph, this also automatically verifies that the loaded nodes have not been rolled back or mutated relative to the high-water shadow ledgers.