Zebra/zebra-consensus/src
teor ad015e04d9
Move history tree and value balance to typed column families (#8115)
* impl TryFrom<zcash_primitives::BlockHeight> for Height

* Add type-safe read and write database methods

* Only allow typed access to the scanner DB

* Update docs

* Implement a common method as a trait

* Fix imports

* Tidy state imports

* Activate tracing logging macros in the whole scanner crate

* Fix dead code warnings

* Use a more sensible export order

* Remove a 1.72 lint exception now 1.74 is stable

* Switch history trees over to TypedColumnFamily, and remove redundant code

* Add typed batch creation methods, and switch history trees to them

* Convert ValueBalance to typed column families

* Make the APIs compatible after a merge

* Use `ZebraDb` instead of `DiskDb` where needed

---------

Co-authored-by: Marek <mail@marek.onl>
2023-12-20 23:20:57 +00:00
..
block cleanup(clippy): Remove unnecessary `try_into()` with `cargo clippy --fix` (#7940) 2023-11-14 20:31:49 +00:00
checkpoint Release Zebra 1.5.0 (#8027) 2023-12-12 00:44:15 +00:00
parameters change(chain): Refactor the handling of height differences (#6330) 2023-03-29 23:06:31 +00:00
primitives cleanup(clippy): Remove unnecessary `try_into()` with `cargo clippy --fix` (#7940) 2023-11-14 20:31:49 +00:00
router change(consensus): Remove Sprout and Sapling parameter download task and debug_skip_preload config (#7844) 2023-10-27 06:12:57 +00:00
transaction chore(clippy): Cleanup nightly clippy warnings from 2023-10-30 (#7868) 2023-10-30 12:21:05 +00:00
block.rs fix(concurrency): Use Arc::into_inner() to avoid potential concurrency issues, needs Rust 1.70 (#7032) 2023-06-21 20:44:53 +00:00
checkpoint.rs fix(log): Remove redundant startup logs, fix progress bar number, order, and wording (#7087) 2023-07-05 07:08:59 +00:00
config.rs change(scan): Create a scanner storage database, but don't use it yet (#8031) 2023-11-30 12:59:15 +00:00
error.rs feat(mempool): add ZIP-317 rules to mempool (#6556) 2023-05-02 00:13:33 +00:00
lib.rs Move history tree and value balance to typed column families (#8115) 2023-12-20 23:20:57 +00:00
parameters.rs Remove duplicate and redundant consensus parameter code (#4760) 2022-07-22 16:33:26 +00:00
primitives.rs cleanup(consensus): Avoid blocking threads by awaiting proof verification results from rayon in async context (#6887) 2023-07-12 21:30:07 +00:00
router.rs change(ci): Split experimental feature tests into their own step (#8039) 2023-12-06 00:52:47 +00:00
script.rs refactor: address comments from #3415: Prepare for changes in ZIP-244 (#3446) 2022-02-01 06:24:08 +00:00
transaction.rs rename(state): Rename state verifiers and related code (#6762) 2023-06-01 12:29:03 +00:00