CheckECDSASignature overloads
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...
true if the signature is valid.| Name | Description |
|---|---|
| scriptSig | The serialized signature, including its sighash byte. |
| vchPubKey | The serialized public key. |
| scriptCode | The script code committed to by the signature. |
| sigversion | The signature version selecting the hashing scheme. |
| sig | The signature to verify. |
| pubkey | The public key to verify against. |
| script | The script being evaluated. |