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

Name

Description

vchSig

The serialized ECDSA signature (without the sighash byte).

vchPubKey

The public key to verify against.

sighash

The precomputed signature hash.

Created with MrDocs