[][src]Function verification::is_valid_proof_of_work

pub fn is_valid_proof_of_work(
    max_work_bits: Compact,
    bits: Compact,
    hash: &H256
) -> bool
[]

Returns true if hash is lower or equal than target and target is lower or equal than current network maximum