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

Event Timeline

src/validation.cpp
1555 ↗(On Diff #15648)

Other function here, for comparison.

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