Bitcoin Core  26.99.0
P2P Digital Currency
Namespaces | Enumerations | Functions
chain.h File Reference
#include <iostream>
Include dependency graph for chain.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 interfaces
 
 kernel
 

Enumerations

enum class  ChainstateRole { NORMAL , BACKGROUND , ASSUMEDVALID }
 This enum describes the various roles a specific Chainstate instance can take. More...
 

Functions

interfaces::BlockInfo kernel::MakeBlockInfo (const CBlockIndex *block_index, const CBlock *data=nullptr)
 Return data from block index. More...
 
std::ostream & operator<< (std::ostream &os, const ChainstateRole &role)
 

Enumeration Type Documentation

◆ ChainstateRole

enum ChainstateRole
strong

This enum describes the various roles a specific Chainstate instance can take.

Other parts of the system sometimes need to vary in behavior depending on the existence of a background validation chainstate, e.g. when building indexes.

Enumerator
NORMAL 
BACKGROUND 
ASSUMEDVALID 

Definition at line 25 of file chain.h.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const ChainstateRole role 
)

Definition at line 30 of file chain.cpp.