pub fn save( dir: &Path, tree: &StateTree, raw: &[u8], done: &Progress, ) -> Result<(), String>
Writes a checkpoint for the ledger with header raw and keeps only the latest two.
raw