Zebra/zebra-state/src/service/finalized_state
Alfredo Garcia 1d45938e0f
fix(note-commitment-trees): Populate subtrees (#7636)
* add `sapling_subtree_for_tip` and `orchard_subtree_for_tip` methods to `ZebraDb`

* add methods for non finalized state, move functions

* call `zs_last_key_value` the right way

* fix and simplify `*_subtree_for_tip` methods

Co-authored-by: Arya <aryasolhi@gmail.com>

* apply filter

* rename all tree and subtree methods that use tip

* rename tip tree and subtree methods in non finalized chain

* apply simplify suggestions

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

---------

Co-authored-by: Arya <aryasolhi@gmail.com>
Co-authored-by: teor <teor@riseup.net>
2023-10-09 02:02:04 +00:00
..
disk_db 1. feat(db): Store transactions in a separate database index, to improve query speed (#3934) 2022-04-07 08:30:50 +00:00
disk_format fix(note-commitment-trees): Populate subtrees (#7636) 2023-10-09 02:02:04 +00:00
tests change(state): Add note subtree index handling to zebra-state, but don't write them to the finalized state yet (#7334) 2023-08-28 08:50:31 +00:00
zebra_db fix(note-commitment-trees): Populate subtrees (#7636) 2023-10-09 02:02:04 +00:00
arbitrary.rs change(state): Write finalized blocks to the state in a separate thread, to avoid network and RPC hangs (#5134) 2022-09-28 16:09:56 +00:00
disk_db.rs change(db): Upgrade subtrees from the tip backwards, for compatibility with wallet syncing (#7531) 2023-09-20 23:41:28 +00:00
disk_format.rs fix(state): Avoid panics and history tree consensus database concurrency bugs (#7590) 2023-09-20 21:17:39 +00:00
tests.rs refactor(state): split the database module (#3568) 2022-02-17 19:08:49 +00:00
zebra_db.rs change(state): Check database format is valid on shutdown, to catch format errors in new block code (#7606) 2023-09-22 13:58:41 +00:00