pub fn test_difficulty(nbits: u32, expected_difficulty: f64)
Expand description

| Given a BlockIndex with the provided | nbits, verify that the expected difficulty | results. |