pub fn is_valid_solution( n: u32, k: u32, input: &[u8], nonce: &[u8], soln: &[u8], ) -> Result<(), Error>
Checks whether soln is a valid solution for (input, nonce) with the parameters (n, k).
soln
(input, nonce)
(n, k)