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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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