Count ECDSA signature operations in pay-to-script-hash inputs.
Declared in <consensus/tx_verify.h>
unsigned int
GetP2SHSigOpCount(
CTransaction const& tx,
CCoinsViewCache const& mapInputs);
maximum number of sigops required to validate this transaction's inputs
| Name | Description |
|---|---|
| mapInputs [in] | Map of previous transactions that have outputs we're spending |
| tx | The transaction whose pay-to-script-hash input sigops are counted. |
CTransaction::FetchInputs