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

Name

Description

provider

The source of keys used to sign.

vchSig

Filled with the produced signature.

keyid

Identifier of the key to sign with.

scriptCode

The script being signed.

sigversion

The signature serialization version to use.

Created with MrDocs