![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <iostream>Go to the source code of this file.
Namespaces | |
| namespace | interfaces |
| namespace | 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) |
|
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 | |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const ChainstateRole & | role | ||
| ) |