Skip to main content

same_algorithm

Function same_algorithm 

Source
pub fn same_algorithm<W: Work>(
    index: &HashIndex<'_>,
    imprint: &AlgorithmIdentifier<'_>,
    execution: &W,
) -> Result<Resolution<bool>>
Expand description

Whether the index algorithm is the time-stamp’s imprint algorithm, as §5.5.2 requires. Both are compared as resolved standard digests; an algorithm either side does not name as one is answered as such.

§Errors

A spent work ceiling.