wallet::PreselectedInput

Holds the user-supplied details for a single manually selected transaction input.

Synopsis

Declared in <wallet/coincontrol.h>

class PreselectedInput;

Member Functions

NameDescription
GetInputWeight Retrieve the input weight for this input.
GetPosition Retrieve the position of this input.
GetScripts Retrieve both the scriptSig and the scriptWitness.
GetSequence Retrieve the sequence for this input.
GetTxOut Retrieve the previous output for this input.
HasScripts Return whether either the scriptSig or scriptWitness are set for this input.
HasTxOut Return whether the previous output is set for this input.
SetInputWeight Set the weight for this input.
SetPosition Store the position of this input.
SetScriptSig Set the scriptSig for this input.
SetScriptWitness Set the scriptWitness for this input.
SetSequence Set the sequence for this input.
SetTxOut Set the previous output for this input. Only necessary if the input is expected to be an external input.