#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 |
◆ 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 99 of file blockstatus.h.
◆ SERIALIZE_METHODS()
◆ 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==
◆ 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 |
◆ RESERVED_FLAG
| const uint32_t BlockStatus::RESERVED_FLAG = 0x200 |
|
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: