[#CachingTransactionSignatureChecker-VerifyECDSASignature]
= xref:CachingTransactionSignatureChecker.adoc[CachingTransactionSignatureChecker]::VerifyECDSASignature
:relfileprefix: ../
:mrdocs:

Verify an ECDSA signature, using the cache when possible&period;

== Synopsis

Declared in `&lt;script&sol;sigcache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
VerifyECDSASignature(
    std::vector&lt;unsigned char&gt; const& vchSig,
    xref:CPubKey.adoc[CPubKey] const& vchPubKey,
    xref:uint256.adoc[uint256] const& sighash) const override;
----

== Return Value

true if the signature is valid&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *vchSig*
| The ECDSA signature bytes&period;
| *vchPubKey*
| The public key to check against&period;
| *sighash*
| The signature hash that was signed&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
