Function holochain::core::validate_chain
source · [−]pub fn validate_chain<'iter>(
headers: impl Iterator<Item = &'iter HeaderHashed>,
persisted_chain_head: &Option<(HeaderHash, u32)>
) -> Result<(), SysValidationError>
Expand description
Validate a chain of headers with an optional starting point.