Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include <blockencodings.h>
Classes | |
struct | CTransactionRefCompare |
Public Member Functions | |
PartiallyDownloadedBlock (const Config &configIn, CTxMemPool *poolIn) | |
ReadStatus | InitData (const CBlockHeaderAndShortTxIDs &cmpctblock, const std::vector< std::pair< TxHash, CTransactionRef > > &extra_txn) |
bool | IsTxAvailable (size_t index) const |
ReadStatus | FillBlock (CBlock &block, const std::vector< CTransactionRef > &vtx_missing) |
Public Attributes | |
CBlockHeader | header |
Protected Attributes | |
size_t | prefilled_count = 0 |
size_t | mempool_count = 0 |
size_t | extra_count = 0 |
const CTxMemPool * | pool |
const Config * | config |
Private Types | |
using | TransactionShortIdProcessor = ShortIdProcessor< PrefilledTransaction, ShortIdProcessorPrefilledTransactionAdapter, CTransactionRefCompare > |
Private Attributes | |
std::shared_ptr< TransactionShortIdProcessor > | shortidProcessor |
Definition at line 141 of file blockencodings.h.
|
private |
Definition at line 149 of file blockencodings.h.
|
inline |
Definition at line 166 of file blockencodings.h.
ReadStatus PartiallyDownloadedBlock::FillBlock | ( | CBlock & | block, |
const std::vector< CTransactionRef > & | vtx_missing | ||
) |
ReadStatus PartiallyDownloadedBlock::InitData | ( | const CBlockHeaderAndShortTxIDs & | cmpctblock, |
const std::vector< std::pair< TxHash, CTransactionRef > > & | extra_txn | ||
) |
bool PartiallyDownloadedBlock::IsTxAvailable | ( | size_t | index | ) | const |
|
protected |
Definition at line 162 of file blockencodings.h.
|
protected |
Definition at line 160 of file blockencodings.h.
CBlockHeader PartiallyDownloadedBlock::header |
Definition at line 165 of file blockencodings.h.
|
protected |
Definition at line 160 of file blockencodings.h.
|
protected |
Definition at line 161 of file blockencodings.h.
|
protected |
Definition at line 160 of file blockencodings.h.
|
private |
Definition at line 157 of file blockencodings.h.