![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
#include <blockencodings.h>
Public Member Functions | |
| PartiallyDownloadedBlock (CTxMemPool *poolIn) | |
| ReadStatus | InitData (const CBlockHeaderAndShortTxIDs &cmpctblock, const std::vector< std::pair< uint256, 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 | |
| std::vector< CTransactionRef > | txn_available |
| size_t | prefilled_count = 0 |
| size_t | mempool_count = 0 |
| size_t | extra_count = 0 |
| const CTxMemPool * | pool |
Definition at line 125 of file blockencodings.h.
|
inlineexplicit |
Definition at line 132 of file blockencodings.h.
| ReadStatus PartiallyDownloadedBlock::FillBlock | ( | CBlock & | block, |
| const std::vector< CTransactionRef > & | vtx_missing | ||
| ) |
Definition at line 176 of file blockencodings.cpp.
| ReadStatus PartiallyDownloadedBlock::InitData | ( | const CBlockHeaderAndShortTxIDs & | cmpctblock, |
| const std::vector< std::pair< uint256, CTransactionRef > > & | extra_txn | ||
| ) |
Definition at line 49 of file blockencodings.cpp.
| bool PartiallyDownloadedBlock::IsTxAvailable | ( | size_t | index | ) | const |
Definition at line 170 of file blockencodings.cpp.
|
protected |
Definition at line 128 of file blockencodings.h.
| CBlockHeader PartiallyDownloadedBlock::header |
Definition at line 131 of file blockencodings.h.
|
protected |
Definition at line 128 of file blockencodings.h.
|
protected |
Definition at line 129 of file blockencodings.h.
|
protected |
Definition at line 128 of file blockencodings.h.
|
protected |
Definition at line 127 of file blockencodings.h.