Zebra/zebra-state/src
teor d20ec3940e
fix(db): Fix a sprout/history tree read panic in Zebra 1.4.0, which only happens before the 25.3.0 state upgrade completes (#7972)
* Avoid a race condition in the 25.3.0 state upgrade

* Look for the most recent sprout tree height if needed

* Get the latest history tree not the tip height history tree

* Discard keys provided by low level database method

* Remove extra ;

* Provide key types & rustfmt

* Fix weird closure type syntax

* Update zebra-state/src/service/finalized_state/disk_format/upgrade/fix_tree_key_type.rs

Co-authored-by: Marek <mail@marek.onl>

---------

Co-authored-by: Marek <mail@marek.onl>
2023-11-22 23:38:56 +00:00
..
service fix(db): Fix a sprout/history tree read panic in Zebra 1.4.0, which only happens before the 25.3.0 state upgrade completes (#7972) 2023-11-22 23:38:56 +00:00
tests fix(security): fix concurrency issues in tree key formats, and CPU usage in genesis tree roots (#7392) 2023-10-19 14:50:46 +00:00
arbitrary.rs change(state): Refactor the structure of verified blocks (#7025) 2023-06-21 16:58:11 +00:00
config.rs fix(doc): Fix broken links to `zebra_network` and `zebra_state` `Config` structs on doc.zebra.zfnd.org (#7838) 2023-10-27 01:05:26 +00:00
constants.rs fix(security): fix concurrency issues in tree key formats, and CPU usage in genesis tree roots (#7392) 2023-10-19 14:50:46 +00:00
error.rs Replace a chain length assertion with a NotReadyToBeCommitted error (#7072) 2023-06-27 06:50:35 +00:00
lib.rs change(docs): Replace doc.zebra.zfnd.org API documentation with docs.rs (#7886) 2023-11-01 22:09:40 +00:00
request.rs change(state): Make the types for finalized blocks consistent (#7923) 2023-11-08 22:06:16 +00:00
response.rs change(state): Add state requests and support code for the `z_getsubtreesbyindex` RPC (#7408) 2023-09-03 22:18:41 +00:00
service.rs cleanup(state): Refactor subtree read functions to accept ranges and check memory first (#7739) 2023-10-20 05:06:05 +00:00
tests.rs Fix the position of coinbase tx (#7217) 2023-07-15 16:24:51 +00:00