Bitcoin ABC 0.30.7
P2P Digital Currency
Public Attributes | List of all members
AssumeutxoData Struct Reference

Holds configuration for use during UTXO snapshot load and validation. More...

#include <chainparams.h>

Collaboration diagram for AssumeutxoData:
[legend]

Public Attributes

const AssumeutxoHash hash_serialized
 The expected hash of the deserialized UTXO set. More...
 
const unsigned int nChainTx
 Used to populate the nChainTx value, which is used during BlockManager::LoadBlockIndex(). More...
 

Detailed Description

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 46 of file chainparams.h.

Member Data Documentation

◆ hash_serialized

const AssumeutxoHash AssumeutxoData::hash_serialized

The expected hash of the deserialized UTXO set.

Definition at line 48 of file chainparams.h.

◆ nChainTx

const unsigned int AssumeutxoData::nChainTx

Used to populate the nChainTx 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 56 of file chainparams.h.


The documentation for this struct was generated from the following file: