Function nanopow_rs::check_work [] [src]

pub fn check_work(input: &str, work: &str) -> bool

Take an input block hash or public key in the form of a 32-character hexadecimal encoded string and a 16-character hex encoded string of a work value and returns a boolean of whether the work is valid for the input hash.