Builds the signet to_spend/to_sign transaction pair for a block.

Synopsis

Declared in <signet.h>

static
std::optional<SignetTxs>
Create(
    CBlock const& block,
    CScript const& challenge);

Return Value

The signet transaction pair, or std::nullopt if it cannot be built.

Parameters

Name

Description

block

The block to derive the signet transactions from.

challenge

The signet challenge script.

Created with MrDocs