Expand description
Constants that impact state behaviour.
Structsยง
- Regex that matches the RocksDB error when its lock file is already open.
Constantsยง
- The database format minor version, incremented each time the on-disk database format has a significant data format change.
- The database format patch version, incremented each time the on-disk database format has a significant format compatibility fix.
- The database format major version, incremented each time the on-disk database format has a breaking data format change.
- The name of the file containing the minor and patch database versions.
- The maximum chain reorganisation height.
- The maximum number of block hashes allowed in
getblocks
responses in the Zcash network protocol. - The maximum number of block headers allowed in
getheaders
responses in the Zcash network protocol. - The maximum number of blocks to check for NU5 transactions, before we assume we are on a pre-NU5 legacy chain.
- The maximum number of non-finalized chain forks Zebra will track. When this limit is reached, we drop the chain with the lowest work.
- The maturity threshold for transparent coinbase outputs.
- These database versions can be recreated from their directly preceding versions.
- The directory name used to distinguish the state database from Zebraโs other databases or flat files.
Functionsยง
- Returns the highest database version that modifies the subtree index format.
- Returns the full semantic version of the currently running state database format code.