Accurately count sigOps, including sigOps in pay‐to‐script‐hash transactions:

Synopsis

Declared in <script/script.h>

unsigned int
GetSigOpCount(CScript const& scriptSig) const;

Return Value

The number of signature operations.

Parameters

Name

Description

scriptSig

The scriptSig that redeems this script.

Created with MrDocs