MutableTransactionSignatureCreator::CreateSig

Create a singular (non-script) signature for the transaction input.

Synopsis

Declared in <script/sign.h>

virtual
bool
CreateSig(
    SigningProvider const& provider,
    std::vector<unsigned char>& vchSig,
    CKeyID const& keyid,
    CScript const& scriptCode,
    SigVersion sigversion) const override;

Return Value

True if the signature was created.

Parameters

NameDescription
providerThe source of keys used to sign.
vchSigFilled with the produced signature.
keyidIdentifier of the key to sign with.
scriptCodeThe script being signed.
sigversionThe signature serialization version to use.