Verify an ECDSA signature for this transaction's input.
Declared in <script/interpreter.h>
virtual
bool
CheckECDSASignature(
std::vector<unsigned char> const& scriptSig,
std::vector<unsigned char> const& vchPubKey,
CScript const& scriptCode,
SigVersion sigversion) const override;
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. |