#include <blockstatus.h>
Definition at line 13 of file blockstatus.h.
◆ BlockStatus() [1/2]
constexpr BlockStatus::BlockStatus |
( |
uint32_t |
nStatusIn | ) |
|
|
inlineexplicitconstexprprivate |
◆ BlockStatus() [2/2]
constexpr BlockStatus::BlockStatus |
( |
| ) |
|
|
inlineexplicitconstexpr |
◆ getValidity()
◆ hasData()
bool BlockStatus::hasData |
( |
| ) |
const |
|
inline |
◆ hasFailed()
bool BlockStatus::hasFailed |
( |
| ) |
const |
|
inline |
◆ hasFailedParent()
bool BlockStatus::hasFailedParent |
( |
| ) |
const |
|
inline |
◆ hasParkedParent()
bool BlockStatus::hasParkedParent |
( |
| ) |
const |
|
inline |
◆ hasUndo()
bool BlockStatus::hasUndo |
( |
| ) |
const |
|
inline |
◆ isAssumedValid()
bool BlockStatus::isAssumedValid |
( |
| ) |
const |
|
inline |
◆ isInvalid()
bool BlockStatus::isInvalid |
( |
| ) |
const |
|
inline |
◆ isOnParkedChain()
bool BlockStatus::isOnParkedChain |
( |
| ) |
const |
|
inline |
◆ isParked()
bool BlockStatus::isParked |
( |
| ) |
const |
|
inline |
◆ isValid()
Check whether this block index entry is valid up to the passed validity level.
Definition at line 102 of file blockstatus.h.
◆ SERIALIZE_METHODS()
◆ withAssumedValid()
BlockStatus BlockStatus::withAssumedValid |
( |
bool |
assumed_valid = true | ) |
const |
|
inline |
◆ withClearedAssumedValidFlags()
BlockStatus BlockStatus::withClearedAssumedValidFlags |
( |
| ) |
const |
|
inline |
◆ withClearedFailureFlags()
BlockStatus BlockStatus::withClearedFailureFlags |
( |
| ) |
const |
|
inline |
◆ withClearedParkedFlags()
BlockStatus BlockStatus::withClearedParkedFlags |
( |
| ) |
const |
|
inline |
◆ withData()
BlockStatus BlockStatus::withData |
( |
bool |
hasData = true | ) |
const |
|
inline |
◆ withFailed()
BlockStatus BlockStatus::withFailed |
( |
bool |
hasFailed = true | ) |
const |
|
inline |
◆ withFailedParent()
BlockStatus BlockStatus::withFailedParent |
( |
bool |
hasFailedParent = true | ) |
const |
|
inline |
◆ withParked()
BlockStatus BlockStatus::withParked |
( |
bool |
parked = true | ) |
const |
|
inline |
◆ withParkedParent()
BlockStatus BlockStatus::withParkedParent |
( |
bool |
parkedParent = true | ) |
const |
|
inline |
◆ withUndo()
BlockStatus BlockStatus::withUndo |
( |
bool |
hasUndo = true | ) |
const |
|
inline |
◆ withValidity()
◆ operator!=
◆ operator==
◆ ASSUMED_VALID_FLAG
const uint32_t BlockStatus::ASSUMED_VALID_FLAG = 0x200 |
|
staticprivate |
If set, this indicates that the block index entry is assumed-valid.
Certain diagnostics will be skipped in e.g. CheckBlockIndex(). It almost certainly means that the block's full validation is pending on a background chainstate.
Definition at line 49 of file blockstatus.h.
◆ FAILED_FLAG
const uint32_t BlockStatus::FAILED_FLAG = 0x20 |
|
staticprivate |
◆ FAILED_PARENT_FLAG
const uint32_t BlockStatus::FAILED_PARENT_FLAG = 0x40 |
|
staticprivate |
◆ HAS_DATA_FLAG
const uint32_t BlockStatus::HAS_DATA_FLAG = 0x08 |
|
staticprivate |
◆ HAS_UNDO_FLAG
const uint32_t BlockStatus::HAS_UNDO_FLAG = 0x10 |
|
staticprivate |
◆ INVALID_MASK
◆ PARKED_FLAG
const uint32_t BlockStatus::PARKED_FLAG = 0x80 |
|
staticprivate |
◆ PARKED_MASK
◆ PARKED_PARENT_FLAG
const uint32_t BlockStatus::PARKED_PARENT_FLAG = 0x100 |
|
staticprivate |
◆ status
uint32_t BlockStatus::status |
|
private |
◆ VALIDITY_MASK
const uint32_t BlockStatus::VALIDITY_MASK = 0x07 |
|
staticprivate |
The documentation for this struct was generated from the following file: