Bitcoin ABC 0.26.3
P2P Digital Currency
|
Helper for findBlock to selectively return pieces of block data. More...
#include <chain.h>
Public Member Functions | |
FoundBlock & | hash (BlockHash &hash) |
FoundBlock & | height (int &height) |
FoundBlock & | time (int64_t &time) |
FoundBlock & | maxTime (int64_t &max_time) |
FoundBlock & | mtpTime (int64_t &mtp_time) |
FoundBlock & | inActiveChain (bool &in_active_chain) |
Return whether block is in the active (most-work) chain. | |
FoundBlock & | nextBlock (const FoundBlock &next_block) |
Return next block in the active chain if current block is in the active chain. | |
FoundBlock & | data (CBlock &data) |
Read block data from disk. | |
Public Attributes | |
BlockHash * | m_hash = nullptr |
int * | m_height = nullptr |
int64_t * | m_time = nullptr |
int64_t * | m_max_time = nullptr |
int64_t * | m_mtp_time = nullptr |
bool * | m_in_active_chain = nullptr |
const FoundBlock * | m_next_block = nullptr |
CBlock * | m_data = nullptr |
Helper for findBlock to selectively return pieces of block data.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
const FoundBlock* interfaces::FoundBlock::m_next_block = nullptr |