zebra/zebra-rpc/src
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
..
methods change(rpc): Simplify `getdifficulty` RPC implementation (#6105) 2023-02-08 23:41:41 +00:00
queue fix(rpc): Shut down the RPC server properly when Zebra shuts down (#5591) 2022-11-10 14:51:53 +00:00
server fix(rpc): Make RPC "incorrect parameters" error code match `zcashd` (#6066) 2023-02-01 18:20:48 +00:00
tests add(rpc): Add extra `getblock` RPC fields used by some mining pools (#6097) 2023-02-07 01:25:34 +00:00
config.rs change(rpc): Provide and parse a long poll ID, but don't use it yet (#5796) 2022-12-09 01:41:46 +00:00
constants.rs fix(rpc): Make RPC "incorrect parameters" error code match `zcashd` (#6066) 2023-02-01 18:20:48 +00:00
lib.rs fix(rpc): Make RPC "incorrect parameters" error code match `zcashd` (#6066) 2023-02-01 18:20:48 +00:00
methods.rs add(rpc): Add extra `getblock` RPC fields used by some mining pools (#6097) 2023-02-07 01:25:34 +00:00
queue.rs fix(rpc): Shut down the RPC server properly when Zebra shuts down (#5591) 2022-11-10 14:51:53 +00:00
server.rs fix(rpc): Make RPC "incorrect parameters" error code match `zcashd` (#6066) 2023-02-01 18:20:48 +00:00
tests.rs feat(rpc): add getrawtransaction (#3908) 2022-03-24 09:45:37 +00:00