![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <blockencodings.h>
Public Types | |
| using | IsBlockMutatedFn = std::function< bool(const CBlock &, bool)> |
Public Member Functions | |
| PartiallyDownloadedBlock (CTxMemPool *poolIn) | |
| ReadStatus | InitData (const CBlockHeaderAndShortTxIDs &cmpctblock, const std::vector< std::pair< Wtxid, CTransactionRef > > &extra_txn) |
| bool | IsTxAvailable (size_t index) const |
| ReadStatus | FillBlock (CBlock &block, const std::vector< CTransactionRef > &vtx_missing, bool segwit_active) |
Public Attributes | |
| CBlockHeader | header |
| IsBlockMutatedFn | m_check_block_mutated_mock {nullptr} |
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 133 of file blockencodings.h.
| using PartiallyDownloadedBlock::IsBlockMutatedFn = std::function<bool(const CBlock&, bool)> |
Definition at line 142 of file blockencodings.h.
|
inlineexplicit |
Definition at line 145 of file blockencodings.h.
| ReadStatus PartiallyDownloadedBlock::FillBlock | ( | CBlock & | block, |
| const std::vector< CTransactionRef > & | vtx_missing, | ||
| bool | segwit_active | ||
| ) |
Definition at line 187 of file blockencodings.cpp.
| ReadStatus PartiallyDownloadedBlock::InitData | ( | const CBlockHeaderAndShortTxIDs & | cmpctblock, |
| const std::vector< std::pair< Wtxid, CTransactionRef > > & | extra_txn | ||
| ) |
Definition at line 55 of file blockencodings.cpp.
| bool PartiallyDownloadedBlock::IsTxAvailable | ( | size_t | index | ) | const |
Definition at line 179 of file blockencodings.cpp.
|
protected |
Definition at line 136 of file blockencodings.h.
| CBlockHeader PartiallyDownloadedBlock::header |
Definition at line 139 of file blockencodings.h.
| IsBlockMutatedFn PartiallyDownloadedBlock::m_check_block_mutated_mock {nullptr} |
Definition at line 143 of file blockencodings.h.
|
protected |
Definition at line 136 of file blockencodings.h.
|
protected |
Definition at line 137 of file blockencodings.h.
|
protected |
Definition at line 136 of file blockencodings.h.
|
protected |
Definition at line 135 of file blockencodings.h.