Page MenuHomePhabricator

Pass flags down to GetP2SHSigOpCount and GetSigOpCountWithoutP2SH
ClosedPublic

Authored by deadalnix on Jul 25 2018, 17:57.

Details

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.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
sigopcountflag
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2958
Build 4016: Bitcoin ABC Buildbot (legacy)
Build 4015: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jul 25 2018, 19:21
This revision was automatically updated to reflect the committed changes.
markblundeberg added inline comments.
src/validation.cpp
455 ↗(On Diff #4429)

(note: this introduced an immediate soft fork, satoshi style ;-D )