Verify a raw ECDSA signature against a public key and precomputed sighash.
Declared in <script/interpreter.h>
virtual
bool
VerifyECDSASignature(
std::vector<unsigned char> const& vchSig,
CPubKey const& vchPubKey,
uint256 const& sighash) const;
true if the signature is valid.
| Name | Description |
|---|---|
| vchSig | The serialized ECDSA signature (without the sighash byte). |
| vchPubKey | The public key to verify against. |
| sighash | The precomputed signature hash. |