[#GenericTransactionSignatureChecker-03-VerifyECDSASignature] = xref:GenericTransactionSignatureChecker-03.adoc[GenericTransactionSignatureChecker]::VerifyECDSASignature :relfileprefix: ../ :mrdocs: Verify a raw ECDSA signature against a public key and precomputed sighash. == Synopsis Declared in `<script/interpreter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool VerifyECDSASignature( std::vector<unsigned char> const& vchSig, xref:CPubKey.adoc[CPubKey] const& vchPubKey, xref:uint256.adoc[uint256] const& sighash) const; ---- == Return Value `true` if the signature is valid. == Parameters [cols="1,4"] |=== | Name| Description | *vchSig* | The serialized ECDSA signature (without the sighash byte). | *vchPubKey* | The public key to verify against. | *sighash* | The precomputed signature hash. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#