wallet::feebumper::SignatureWeightChecker::CheckECDSASignature

CheckECDSASignature overloads

Synopses

Declared in <script/interpreter.h>

Forward the ECDSA signature check to the wrapped checker.

virtual
bool
CheckECDSASignature(
    std::vector<unsigned char> const& scriptSig,
    std::vector<unsigned char> const& vchPubKey,
    CScript const& scriptCode,
    SigVersion sigversion) const override;
» more...

Validates an ECDSA signature and records its weight when valid.

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

Return Value

  • true if the signature is valid.
  • true if the signature is valid.

Parameters

NameDescription
scriptSigThe serialized signature, including its sighash byte.
vchPubKeyThe serialized public key.
scriptCodeThe script code committed to by the signature.
sigversionThe signature version selecting the hashing scheme.
sigThe signature to verify.
pubkeyThe public key to verify against.
scriptThe script being evaluated.