Bitcoin Core 30.99.0
P2P Digital Currency
Public Attributes | List of all members
kernel::ChainstateRole Struct Reference

Information about chainstate that notifications are sent from. More...

#include <types.h>

Public Attributes

bool validated {true}
 Whether this is a notification from a chainstate that's been fully validated starting from the genesis block. More...
 
bool historical {false}
 Whether this is a historical chainstate downloading old blocks to validate an assumeutxo snapshot, not syncing to the network tip. More...
 

Detailed Description

Information about chainstate that notifications are sent from.

Definition at line 18 of file types.h.

Member Data Documentation

◆ historical

bool kernel::ChainstateRole::historical {false}

Whether this is a historical chainstate downloading old blocks to validate an assumeutxo snapshot, not syncing to the network tip.

Definition at line 26 of file types.h.

◆ validated

bool kernel::ChainstateRole::validated {true}

Whether this is a notification from a chainstate that's been fully validated starting from the genesis block.

False if it is from an assumeutxo snapshot chainstate that has not been validated yet.

Definition at line 22 of file types.h.


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