rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding 12d615d900
Use network when calculating difficulty
The difficulty is a ratio  of the max and current targets, since the
max is network specific the difficulty calculation is also network
specific.

We already have network specific maximum target constants, use them when
calculating the difficulty.
2023-11-03 12:05:23 +11:00
..
contrib hashes: Bump version to 0.13.0 2023-08-24 12:25:42 +10:00
embedded Add patch section to test crates 2023-07-18 10:27:48 +10:00
examples Use Message::from_digest 2023-10-11 08:16:25 +11:00
src Use network when calculating difficulty 2023-11-03 12:05:23 +11:00
tests Replace hex_script macro with a helper function 2023-10-20 10:20:23 +02:00
CHANGELOG.md Add a missing link to #2006 in 'bitcoin/CHANGELOG.md' 2023-10-26 21:06:48 +02:00
Cargo.toml bitcoin: Bump version number to v0.31.0 2023-10-28 08:32:30 +11:00
build.rs Create uniform build script 2023-10-30 14:40:41 +01:00