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

Name

Description

block

Output block assembled from available and supplied transactions.

vtx_missing

The transactions that were requested and received.

segwit_active

Whether to enforce witness mutation checks before success.

Created with MrDocs