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

Name

Description

vchSig

The ECDSA signature bytes.

vchPubKey

The public key to check against.

sighash

The signature hash that was signed.

Created with MrDocs