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.
- block_
info_ πand_ address_ received - 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.
FunctionsΒ§
- format_
upgrades π - restorable_
db_ versions - Returns a list of all the major db format versions that can restored from the previous major database format.