Function bitcoin_test::test_difficulty
source · pub fn test_difficulty(nbits: u32, expected_difficulty: f64)Expand description
| Given a BlockIndex with the provided | nbits, verify that the expected difficulty | results. |
pub fn test_difficulty(nbits: u32, expected_difficulty: f64)| Given a BlockIndex with the provided | nbits, verify that the expected difficulty | results. |