zebra/zebra-rpc
teor 4f289299fd
change(rpc): Simplify `getdifficulty` RPC implementation (#6105)
* Use existing Work type to calculate get_difficulty RPC, round in f64 tests

* Use a valid difficulty in all snapshots

* Explain compatibility TODO

* Fix typo

* Document consensus rules in the difficulty module

* Calculate the difficulty using the high 128 bits of the U256 values

* Require 6 significant figures of accuracy in the difficulty unit tests

* fixup! Calculate the difficulty using the high 128 bits of the U256 values

* Update snapshots
2023-02-08 23:41:41 +00:00
..
src change(rpc): Simplify `getdifficulty` RPC implementation (#6105) 2023-02-08 23:41:41 +00:00
Cargo.toml build(deps): bump serde_json from 1.0.91 to 1.0.92 (#6111) 2023-02-06 18:01:38 +00:00