Skip to main content

initial_root

Function initial_root 

Source
pub fn initial_root<F, U, H>() -> H::Digest
where F: Family, H: Hasher, U: Update, Operation<F, U>: Encode,
Expand description

Compute the authenticated root of a newly initialized database without opening storage.

The initial commit never carries metadata, so this root always represents CommitFloor(None, 0).