pub async fn verify_tree_integrity<S: Store>(
store: Arc<S>,
root_hash: &Hash,
) -> Result<VerifyIntegrityResult, ReaderError>Expand description
Verify tree integrity and content addresses.
Checks that:
- all referenced hashes exist
- every fetched blob/node satisfies
sha256(bytes) == referenced_hash