pub fn verify(challenge: &[u8], solution: &Solution) -> Result<(), Error>
Expand description
Check a Solution
against a particular challenge.
Having a Solution
instance guarantees that the order of items
has already been checked. This only needs to check hash tree sums.
Returns either Ok
or Error::HashSum
.
Uses default EquiXBuilder
options.