Page MenuHomePhabricator

move MANDATORY_SCRIPT_VERIFY_FLAGS to policy.h
ClosedPublic

Authored by markblundeberg on Mon, Jan 13, 14:32.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCf3dea985535c: move MANDATORY_SCRIPT_VERIFY_FLAGS to policy.h
Summary

It really doesn't belong in standard.h, which entirely deals with the
concept of examining scriptPubKeys and determining what kind they are.
And in fact, the only direct usages of this flagset are immediately
below the new location:

  1. as a baseline for STANDARD_SCRIPT_VERIFY_FLAGS, and
  2. as a subtrahend for STANDARD_NOT_MANDATORY_VERIFY_FLAGS.
Test Plan

ninja all check

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.