Expand description
In-place format upgrades and format validity checks for the Zebra state database.
Modules§
- add_
subtrees 🔒 - Fully populate the Sapling and Orchard note commitment subtrees for existing blocks in the database.
- cache_
genesis_ 🔒roots - Updating the genesis note commitment trees to cache their roots.
- fix_
tree_ 🔒key_ type - Updating the sprout and history tree key type from
Height
to the empty key()
. - no_
migration 🔒 - An implementation of
DiskFormatUpgrade
for marking the database as upgraded to a new format version. - prune_
trees 🔒 - Prunes duplicate Sapling and Orchard note commitment trees from database
- track_
tx_ 🔒locs_ by_ spends - Tracks transaction locations by their inputs and revealed nullifiers.
- tree_
keys_ 🔒and_ caches_ upgrade - Applies the
fix_tree_key_type
andcache_genesis_roots
upgrades to the database.
Structs§
- Cancel
Format Change - Marker type that is sent to cancel a format upgrade, and returned as an error on cancellation.
- DbFormat
Change Thread Handle - A handle to a spawned format change thread.
Enums§
- DbFormat
Change - The kind of database format change or validity check we’re performing.
Traits§
- Disk
Format Upgrade - Defines method signature for running disk format upgrades.