Construct a signature creator reusing precomputed transaction data.

Synopsis

Declared in <script/sign.h>

MutableTransactionSignatureCreator(
    CMutableTransaction const& tx,
    unsigned int input_idx,
    CAmount const& amount,
    PrecomputedTransactionData const* txdata,
    SignOptions const& options);

Parameters

Name

Description

tx

The transaction whose input is being signed.

input_idx

The index of the input to sign.

amount

The value of the output being spent.

txdata

Precomputed transaction data shared across inputs.

options

Options controlling how the input is signed.

Created with MrDocs