[#BaseSignatureChecker-CheckECDSASignature] = xref:BaseSignatureChecker.adoc[BaseSignatureChecker]::CheckECDSASignature :relfileprefix: ../ :mrdocs: Verify an ECDSA signature against a public key and script code. == Synopsis Declared in `<script/interpreter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool CheckECDSASignature( std::vector<unsigned char> const& scriptSig, std::vector<unsigned char> const& vchPubKey, xref:CScript.adoc[CScript] const& scriptCode, xref:SigVersion.adoc[SigVersion] sigversion) const; ---- == Return Value `true` if the signature is valid. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#