Expand description
Block and transaction 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§
- A transaction’s index in its block.
- A transaction’s location in the chain, by block height and transaction index.
Constants§
Height
s are stored as 3 bytes on disk.- The maximum value of an on-disk serialized
Height
. TransactionLocation
s are stored as a 3 byte height and a 2 byte transaction index.TransactionIndex
es are stored as 2 bytes on disk.