Zebra/zebra-state/src/service/non_finalized_state
teor 9452487c61
fix(state): Fix minute-long delays in block verification after a chain fork (#6122)
* Split Chain fields into sections

* Replace Chain.sprout_note_commitment_tree with a lookup method

* Add TODOs

* Show full debug info when tests fail because chains aren't equal

* Print sprout and sapling tree Nodes as hex when debugging

* Correctly revert temporary finalized tip trees and anchors

* Fix tests

* Refactor removal functions

* Replace the Chain.sapling_note_commitment_tree field with a lookup method

* Replace the Chain.orchard_note_commitment_tree field with a lookup method

* Replace the Chain.history_tree field with a lookup method and remove redundant code

* Update comments

* Ignore clippy::unwrap_in_result

* Remove redundant fork() Result

* Put conditional code in blocks

* fastmod history_tree_at_tip history_block_commitment_tree zebra-state
2023-02-13 21:44:31 +00:00
..
chain fix(state): Update column family names to match Zebra's database design (#4639) 2022-06-30 23:00:23 +00:00
tests fix(state): Fix minute-long delays in block verification after a chain fork (#6122) 2023-02-13 21:44:31 +00:00
chain.rs fix(state): Fix minute-long delays in block verification after a chain fork (#6122) 2023-02-13 21:44:31 +00:00
tests.rs Move zebra-state tests into their own files 2021-04-23 09:34:13 -04:00