Searched refs:is_consistent (Results 1 – 2 of 2) sorted by relevance
105 pub fn is_consistent(&self, index: usize, hash: &Sha256Hash) -> bool { in is_consistent() method236 assert!(tree.is_consistent(1, &HASH_OF_4096_ZEROS)); in merkle_tree_grow_leaves()237 assert!(tree.is_consistent(2, &HASH_OF_4096_ZEROS)); in merkle_tree_grow_leaves()255 assert!(tree.is_consistent(1, &HASH_OF_4096_ZEROS)); in merkle_tree_shrink_leaves()
116 if !merkle_tree_locked.is_consistent(chunk_index as usize, &hash) { in read_backing_chunk_verified()144 if !merkle_tree.is_consistent(output_chunk_index, &hash) { in new_hash_for_incomplete_write()