Create a singular (non-script) signature for the transaction input.
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;
True if the signature was created.
| 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. |