CachingTransactionSignatureChecker::VerifyECDSASignature

Verify an ECDSA signature, using the cache when possible.

Synopsis

Declared in <script/sigcache.h>

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

Return Value

true if the signature is valid.

Parameters

NameDescription
vchSigThe ECDSA signature bytes.
vchPubKeyThe public key to check against.
sighashThe signature hash that was signed.