GenericTransactionSignatureChecker::VerifyECDSASignature

Verify a raw ECDSA signature against a public key and precomputed sighash.

Synopsis

Declared in <script/interpreter.h>

virtual
bool
VerifyECDSASignature(
    std::vector<unsigned char> const& vchSig,
    CPubKey const& vchPubKey,
    uint256 const& sighash) const;

Return Value

true if the signature is valid.

Parameters

NameDescription
vchSigThe serialized ECDSA signature (without the sighash byte).
vchPubKeyThe public key to verify against.
sighashThe precomputed signature hash.