[#PartiallyDownloadedBlock] = PartiallyDownloadedBlock :mrdocs: A block being reconstructed from a compact block plus mempool/extra transactions. == Synopsis Declared in `<blockencodings.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class PartiallyDownloadedBlock; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:PartiallyDownloadedBlock/IsBlockMutatedFn.adoc[`IsBlockMutatedFn`] | Callable used to check whether a reconstructed block is mutated. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:PartiallyDownloadedBlock/2constructor.adoc[`PartiallyDownloadedBlock`] [.small]#[constructor]# | Constructs a reconstruction backed by the given memory pool. | xref:PartiallyDownloadedBlock/FillBlock.adoc[`FillBlock`] | Fills the block with the supplied missing transactions and reports the result. | xref:PartiallyDownloadedBlock/InitData.adoc[`InitData`] | Initializes reconstruction from a compact block and a list of extra transactions. | xref:PartiallyDownloadedBlock/IsTxAvailable.adoc[`IsTxAvailable`] | Returns whether the transaction at the given block index is already available. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:PartiallyDownloadedBlock/header.adoc[`header`] | The block header. | xref:PartiallyDownloadedBlock/m_check_block_mutated_mock.adoc[`m_check_block_mutated_mock`] | Optional override for the mutation check, used in tests. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:PartiallyDownloadedBlock/extra_count.adoc[`extra_count`] | Counts of transactions sourced from the compact block, the mempool, and the extra pool. | xref:PartiallyDownloadedBlock/mempool_count.adoc[`mempool_count`] | Counts of transactions sourced from the compact block, the mempool, and the extra pool. | xref:PartiallyDownloadedBlock/pool.adoc[`pool`] | Memory pool consulted to fill in missing transactions. | xref:PartiallyDownloadedBlock/prefilled_count.adoc[`prefilled_count`] | Counts of transactions sourced from the compact block, the mempool, and the extra pool. | xref:PartiallyDownloadedBlock/txn_available.adoc[`txn_available`] | Transactions filled in so far, indexed by their position in the block. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#