GenericTransactionSignatureChecker::CheckECDSASignature

Verify an ECDSA signature for this transaction's input.

Synopsis

Declared in <script/interpreter.h>

virtual
bool
CheckECDSASignature(
    std::vector<unsigned char> const& scriptSig,
    std::vector<unsigned char> const& vchPubKey,
    CScript const& scriptCode,
    SigVersion sigversion) const override;

Return Value

true if the signature is valid.

Parameters

NameDescription
scriptSigThe serialized signature, including its sighash byte.
vchPubKeyThe serialized public key.
scriptCodeThe script code committed to by the signature.
sigversionThe signature version selecting the hashing scheme.