rust-lightning/lightning-block-sync/src
Wilmer Paulino 4f9bcb9958
Check difficulty transition against Target instead of Work
`rust-bitcoin v0.30.0` made some changes in this area that no longer
allow us to work with the previously exposed `U256` type. While `Work`
and `Target` (they're inverses of each other) essentially represent the
same concept, it makes more sense from their API's perspective to only
expose difficulty transitions and adjustments on `Target`s.
2023-05-10 11:39:46 -07:00
..
convert.rs Drop serde dependency from lightning-block-sync 2023-03-20 16:31:22 +00:00
http.rs Bump HTTP read timeout to match reality of Bitcoin Core blocking 2021-09-21 19:14:29 +00:00
init.rs Move keysinterface.rs to a directory-level module called sign. 2023-05-02 21:48:08 -07:00
lib.rs Merge pull request #2049 from douglaz/run-clippy-fix 2023-03-06 21:28:38 +00:00
poll.rs Check difficulty transition against Target instead of Work 2023-05-10 11:39:46 -07:00
rest.rs Avoid connection-per-RPC-call again by caching connections 2023-03-30 22:28:26 +00:00
rpc.rs Avoid connection-per-RPC-call again by caching connections 2023-03-30 22:28:26 +00:00
test_utils.rs Run clippy --fix and cleanup code 2023-03-06 19:26:48 +00:00
utils.rs Implement BlockSource for REST and RPC clients 2021-02-04 07:38:42 -08:00