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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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

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