Bitcoin Core 28.99.0
P2P Digital Currency
|
Holds configuration for use during UTXO snapshot load and validation. More...
#include <chainparams.h>
Public Attributes | |
int | height |
AssumeutxoHash | hash_serialized |
The expected hash of the deserialized UTXO set. More... | |
uint64_t | m_chain_tx_count |
Used to populate the m_chain_tx_count value, which is used during BlockManager::LoadBlockIndex(). More... | |
uint256 | blockhash |
The hash of the base block for this snapshot. More... | |
Holds configuration for use during UTXO snapshot load and validation.
The contents here are security critical, since they dictate which UTXO snapshots are recognized as valid.
Definition at line 47 of file chainparams.h.
uint256 AssumeutxoData::blockhash |
The hash of the base block for this snapshot.
Used to refer to assumeutxo data prior to having a loaded blockindex.
Definition at line 61 of file chainparams.h.
AssumeutxoHash AssumeutxoData::hash_serialized |
The expected hash of the deserialized UTXO set.
Definition at line 51 of file chainparams.h.
int AssumeutxoData::height |
Definition at line 48 of file chainparams.h.
uint64_t AssumeutxoData::m_chain_tx_count |
Used to populate the m_chain_tx_count value, which is used during BlockManager::LoadBlockIndex().
We need to hardcode the value here because this is computed cumulatively using block data, which we do not necessarily have at the time of snapshot load.
Definition at line 57 of file chainparams.h.