Skip to main content

save

Function save 

Source
pub fn save(
    dir: &Path,
    tree: &StateTree,
    raw: &[u8],
    done: &Progress,
) -> Result<(), String>
Expand description

Writes a checkpoint for the ledger with header raw and keeps only the latest two.