[#GetLegacySigOpCount]
= GetLegacySigOpCount
:mrdocs:

Count ECDSA signature operations the old&hyphen;fashioned (pre&hyphen;0&period;6) way

== Synopsis

Declared in `&lt;consensus&sol;tx&lowbar;verify&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned int
GetLegacySigOpCount(xref:CTransaction.adoc[CTransaction] const& tx);
----

== Return Value

number of sigops this transaction&apos;s outputs will produce when spent

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction whose legacy signature operations are counted&period;
|===

== See Also

CTransaction&colon;&colon;FetchInputs


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