Extract signature data from a transaction input, and insert it.

Synopsis

Declared in <script/sign.h>

SignatureData
DataFromTransaction(
    CMutableTransaction const& tx,
    unsigned int nIn,
    CTxOut const& txout);

Return Value

The signature data recovered from the input.

Parameters

Name

Description

tx

The transaction the input belongs to.

nIn

The index of the input to read.

txout

The output being spent by the input.

Created with MrDocs