DataFromTransaction

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

NameDescription
txThe transaction the input belongs to.
nInThe index of the input to read.
txoutThe output being spent by the input.