UpdateInput

Write the scriptSig and witness from signature data back into an input.

Synopsis

Declared in <script/sign.h>

void
UpdateInput(
    CTxIn& input,
    SignatureData const& data);

Parameters

NameDescription
inputThe transaction input to update.
dataThe signature data to apply to the input.