Zebra/zebra-state
Marek 38a2bcb042
feat(shielded): Store Sapling & Orchard note commitment trees in finalized and non-finalized state (#3818)
* Query Sapling & Orchard trees by height in the finalized state

* Add Sapling & Orchard trees to the non-finalized state

* Add a TODO about concurrent read-only access to Sprout tree

Co-authored-by: teor <teor@riseup.net>

* Update the database format version

* Keep only the most recent Sprout tree in the database

* Check that the database returns empty trees for the genesis block

* Assert that the database returns the highest trees

* Document how to update insta snapshots

* Add note commitment tree insta snapshot tests

* Add comments about cached tree roots in snapshots

* Add snapshot data for sapling and orchard trees

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2022-03-15 05:18:18 +00:00
..
proptest-regressions/service 3. refactor(db): add disk serialization types for transactions (#3741) 2022-03-09 01:22:00 +00:00
src feat(shielded): Store Sapling & Orchard note commitment trees in finalized and non-finalized state (#3818) 2022-03-15 05:18:18 +00:00
tests 7. feat(state): add a read-only state service stub (#3835) 2022-03-11 10:58:22 -03:00
Cargo.toml build(deps): bump regex from 1.5.4 to 1.5.5 (#3797) 2022-03-10 04:01:26 +00:00