pub fn hash_difficulty(hash: &H256, difficulty: U256) -> bool { 
    let hash = U256::from(&hash[..]);
    
    let (_, overflow) = hash.overflowing_mul(difficulty);

    !overflow
}
//  Determine whether the given hash satifies the given difficulty
Determine whether the given hash satifies the given difficulty
Determine whether the given hash satifies the given difficulty
pub fn hash_difficulty(hash: &H256, difficulty: U256) -> bool { 
    let hash = U256::from(&hash[..]);
    let (_, overflow) = hash.overflowing_mul(difficulty);
    !overflow
}
pub fn hash_difficulty ( hash : & H256 , difficulty : U256 ) -> bool { let hash = U256 :: from ( & hash [ .. ] ) ; let ( _ , overflow ) = hash . overflowing_mul ( difficulty ) ; ! overflow }
Determine whether the given hash satifies the given difficulty
Determine whether the given hash satifies the given difficulty
hash
&H256
difficulty
U256
hash
&H256
difficulty
U256