PartiallyDownloadedBlock::FillBlock

Fills the block with the supplied missing transactions and reports the result.

Synopsis

Declared in <blockencodings.h>

ReadStatus
FillBlock(
    CBlock& block,
    std::vector<CTransactionRef> const& vtx_missing,
    bool segwit_active);

Return Value

A status code indicating whether the block was reconstructed.

Parameters

NameDescription
blockOutput block assembled from available and supplied transactions.
vtx_missingThe transactions that were requested and received.
segwit_activeWhether to enforce witness mutation checks before success.