Bitcoin Core 32.1.0
P2P Digital Currency
Loading...
Searching...
No Matches
TestPartiallyDownloadedBlock Struct Reference
Inheritance diagram for TestPartiallyDownloadedBlock:
[legend]
Collaboration diagram for TestPartiallyDownloadedBlock:
[legend]

Public Member Functions

size_t GetMempoolCount () const
size_t GetExtraCount () const
 PartiallyDownloadedBlock (CTxMemPool *poolIn)
Public Member Functions inherited from PartiallyDownloadedBlock
 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)

Additional Inherited Members

Public Types inherited from PartiallyDownloadedBlock
using IsBlockMutatedFn = std::function<bool(const CBlock&, bool)>
Public Attributes inherited from PartiallyDownloadedBlock
CBlockHeader header
IsBlockMutatedFn m_check_block_mutated_mock {nullptr}
Protected Attributes inherited from PartiallyDownloadedBlock
std::vector< CTransactionRef > txn_available
size_t prefilled_count = 0
size_t mempool_count = 0
size_t extra_count = 0
const CTxMemPool * pool

Detailed Description

Definition at line 147 of file blockencodings_tests.cpp.

Member Function Documentation

◆ GetExtraCount()

size_t TestPartiallyDownloadedBlock::GetExtraCount ( ) const
inline

Definition at line 151 of file blockencodings_tests.cpp.

Here is the caller graph for this function:

◆ GetMempoolCount()

size_t TestPartiallyDownloadedBlock::GetMempoolCount ( ) const
inline

Definition at line 150 of file blockencodings_tests.cpp.

Here is the caller graph for this function:

◆ PartiallyDownloadedBlock()

Definition at line 145 of file blockencodings.h.


The documentation for this struct was generated from the following file: