![]() |
Bitcoin ABC 0.31.1
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. More... | |
FoundBlock & | locator (CBlockLocator &locator) |
Return locator if block is in the active chain. More... | |
FoundBlock & | nextBlock (const FoundBlock &next_block) |
Return next block in the active chain if current block is in the active chain. More... | |
FoundBlock & | data (CBlock &data) |
Read block data from disk. More... | |
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 |
CBlockLocator * | m_locator = 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 |
|
inline |
CBlockLocator* interfaces::FoundBlock::m_locator = nullptr |
const FoundBlock* interfaces::FoundBlock::m_next_block = nullptr |