rust-bitcoin-unsafe-fast/bitcoin
junderw 2158f88f1d
Add a method to `pow::Target` for returning difficulty as an f64.
This adds a conversion function to U256 to get an f64. We use the method shown in the following blog post. https://blog.m-ou.se/floats/
Target::MAX was converted to a f64 and set as a const that is verified in a unit test.
2023-03-10 07:54:36 -07:00
..
contrib Enable formatting in CI 2023-03-07 08:57:32 +11:00
embedded Instruct devs to use nightly for embedded 2023-02-03 08:44:47 +11:00
examples Run the formatter 2023-03-06 10:22:29 +11:00
fuzz Add a newtype for script-pushable slice 2023-02-18 16:35:25 +01:00
src Add a method to `pow::Target` for returning difficulty as an f64. 2023-03-10 07:54:36 -07:00
tests Run the formatter 2023-03-06 10:22:29 +11:00
CHANGELOG.md add some documentation clarifying the locktime ordering shenanigans in #1330 2022-12-15 23:12:03 +00:00
Cargo.toml bump bitcoin-hashes version to 0.12 2023-03-05 13:40:20 +00:00
build.rs Set rustv_1_53 in build script 2023-02-02 10:12:16 +11:00