GetLegacySigOpCount

Count ECDSA signature operations the old-fashioned (pre-0.6) way

Synopsis

Declared in <consensus/tx_verify.h>

unsigned int
GetLegacySigOpCount(CTransaction const& tx);

Return Value

number of sigops this transaction's outputs will produce when spent

Parameters

NameDescription
txThe transaction whose legacy signature operations are counted.

See Also

CTransaction::FetchInputs