HomePhabricator

Pass flags down to GetP2SHSigOpCount and GetSigOpCountWithoutP2SH

Description

Pass flags down to GetP2SHSigOpCount and GetSigOpCountWithoutP2SH

Summary:
This will ensure we can use flags to tweak the way sigops are counted in the future. That is necessary for the activation of OP_CHECKDATASIG .

Depends on D1596

Test Plan: Added test cases for the logic change.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1597

Details

Provenance
deadalnixAuthored on Jul 25 2018, 16:58
deadalnixPushed on Jul 25 2018, 23:44
Reviewer
Restricted Project
Differential Revision
D1597: Pass flags down to GetP2SHSigOpCount and GetSigOpCountWithoutP2SH
Parents
rSTAGINGb35b4d5a77f5: Add test case for GetTransactionSigOpCount without the P2SH flags passed in.
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/4430