Bitcoin Core 31.99.0
P2P Digital Currency
Public Member Functions | List of all members
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< CTransactionReftxn_available
 
size_t prefilled_count = 0
 
size_t mempool_count = 0
 
size_t extra_count = 0
 
const CTxMemPoolpool
 

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.

◆ GetMempoolCount()

size_t TestPartiallyDownloadedBlock::GetMempoolCount ( ) const
inline

Definition at line 150 of file blockencodings_tests.cpp.

◆ PartiallyDownloadedBlock()

PartiallyDownloadedBlock::PartiallyDownloadedBlock ( CTxMemPool poolIn)
inlineexplicit

Definition at line 145 of file blockencodings.h.


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