[][src]Function verification::transaction_sigops

pub fn transaction_sigops(
    transaction: &Transaction,
    store: &TransactionOutputProvider,
    bip16_active: bool,
    checkdatasig_active: bool
) -> usize
[]

Counts signature operations in given transaction bip16_active flag indicates if we should also count signature operations in previous transactions. If one of the previous transaction outputs is missing, we simply ignore that fact and just carry on counting