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

Name

Description

scriptSig

The serialized signature, including its sighash byte.

vchPubKey

The serialized public key.

scriptCode

The script code committed to by the signature.

sigversion

The signature version selecting the hashing scheme.

Created with MrDocs