Expand description
Constants that impact state behaviour.
Structs§
- LOCK_
FILE_ ERROR - Regex that matches the RocksDB error when its lock file is already open.
Constants§
- DATABASE_
FORMAT_ 🔒MINOR_ VERSION - The database format minor version, incremented each time the on-disk database format has a significant data format change.
- DATABASE_
FORMAT_ 🔒PATCH_ VERSION - The database format patch version, incremented each time the on-disk database format has a significant format compatibility fix.
- DATABASE_
FORMAT_ 🔒VERSION - The database format major version, incremented each time the on-disk database format has a breaking data format change.
- DATABASE_
FORMAT_ 🔒VERSION_ FILE_ NAME - The name of the file containing the database version.
- MAX_
BLOCK_ REORG_ HEIGHT - The maximum chain reorganisation height.
- MAX_
FIND_ BLOCK_ HASHES_ RESULTS - The maximum number of block hashes allowed in
getblocks
responses in the Zcash network protocol. - MAX_
FIND_ BLOCK_ HEADERS_ RESULTS - The maximum number of block headers allowed in
getheaders
responses in the Zcash network protocol. - MAX_
INVALIDATED_ BLOCKS - The maximum number of invalidated block records.
- MAX_
LEGACY_ CHAIN_ BLOCKS - The maximum number of blocks to check for NU5 transactions, before we assume we are on a pre-NU5 legacy chain.
- MAX_
NON_ FINALIZED_ CHAIN_ FORKS - The maximum number of non-finalized chain forks Zebra will track. When this limit is reached, we drop the chain with the lowest work.
- MIN_
TRANSPARENT_ COINBASE_ MATURITY - The maturity threshold for transparent coinbase outputs.
- STATE_
DATABASE_ KIND - The directory name used to distinguish the state database from Zebra’s other databases or flat files.
Functions§
- state_
database_ format_ version_ in_ code - Returns the full semantic version of the currently running state database format code.