Page MenuHomePhabricator

simplify ATMP standard flag computation [2/2] - move computation to another function
ClosedPublic

Authored by markblundeberg on Jan 18 2020, 11:04.

Details

Summary

The functional form here is entirely based on GetNextBlockScriptFlags.

(Note: This should entirely remove the need for IsXEnabledForCurrentBlock
functions in future upgrades.)

Depends on D5014

Test Plan

ninja check-all

Diff Detail

Repository
rABC Bitcoin ABC
Branch
simplify-checkinputs-flags
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9050
Build 16062: Default Diff Build & Tests
Build 16061: arc lint + arc unit

Event Timeline

src/validation.cpp
1555

Other function here, for comparison.

This revision is now accepted and ready to land.Jan 18 2020, 23:33