cuprate-hinto-janai/helper/src
hinto-janai bf6c21c71e
database: split cumulative_difficulty into low/high bits (#114)
* types: split `cumulative_difficulty` into low/high bits

* helper: add `map` module

* database: use `helper`'s cumulative_diff functions

* helper: rename functions

splitting bits isn't necessarily `cumulative_difficulty` specific

* database: fix tests

* helper: docs

* helper: test output is low-endian bits

* helper: docs

* Update helper/src/map.rs

Co-authored-by: Boog900 <boog900@tutanota.com>

* Update helper/src/map.rs

Co-authored-by: Boog900 <boog900@tutanota.com>

---------

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-04-24 21:47:48 +01:00
..
asynch.rs helper/ (#45) 2024-01-21 00:04:09 +00:00
atomic.rs helper: use crossbeam::atomic::AtomicCell for atomic floats (#56) 2024-02-10 23:19:12 +00:00
constants.rs helper: add fs (#67) 2024-02-21 17:54:46 +00:00
fs.rs database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
lib.rs database: split cumulative_difficulty into low/high bits (#114) 2024-04-24 21:47:48 +01:00
map.rs database: split cumulative_difficulty into low/high bits (#114) 2024-04-24 21:47:48 +01:00
network.rs remove empty cuprate bin and common 2024-01-22 01:56:34 +00:00
num.rs consensus: add more difficulty tests 2024-01-22 18:17:34 +00:00
thread.rs helper: NON_ZERO_USIZE_1 -> NonZeroUsize::MIN (#70) 2024-02-21 17:55:29 +00:00
time.rs helper: fix doc test 2024-01-22 02:09:09 +00:00