Skip to main content

Module chain

Module chain 

Source
Expand description

Chain data serialization formats for finalized data.

ยงCorrectness

crate::constants::state_database_format_version_in_code() must be incremented each time the database format (column, serialization, etc) changes.

Structsยง

HistoryTreeParts
LegacyEntry ๐Ÿ”’
A history-tree entry serialized at the pre-NU6.3 LEGACY_MAX_ENTRY_SIZE width.
LegacyHistoryTreeParts ๐Ÿ”’
A mirror of HistoryTreeParts using the pre-NU6.3 zcash_history::Entry width.

Constantsยง

LEGACY_MAX_ENTRY_SIZE ๐Ÿ”’
The width of a history-tree zcash_history::Entry as serialized by database formats written before NU6.3 (Ironwood) widened zcash_history::NodeData. Equal to the pre-Ironwood MAX_ENTRY_SIZE: a MAX_NODE_DATA_SIZE of 244 bytes plus the 9-byte entry header.