Validates an ECDSA signature and records its weight when valid.

Synopsis

Declared in <wallet/feebumper.h>

virtual
bool
CheckECDSASignature(
    std::vector<unsigned char> const& sig,
    std::vector<unsigned char> const& pubkey,
    CScript const& script,
    SigVersion sigversion) const override;

Return Value

true if the signature is valid.

Parameters

Name

Description

sig

The signature to verify.

pubkey

The public key to verify against.

script

The script being evaluated.

sigversion

The signature version in effect.

Created with MrDocs