Builds the signet to_spend/to_sign transaction pair for a block.
Declared in <signet.h>
static
std::optional<SignetTxs>
Create(
CBlock const& block,
CScript const& challenge);
The signet transaction pair, or std::nullopt if it cannot be built.
| Name | Description |
|---|---|
| block | The block to derive the signet transactions from. |
| challenge | The signet challenge script. |