HomePhabricator

move MANDATORY_SCRIPT_VERIFY_FLAGS to policy.h

Description

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

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4926

Details

Provenance
Mark Lundeberg <markblundeberg@users.noreply.github.com>Authored on Jan 13 2020, 14:26
deadalnixPushed on Jan 13 2020, 16:51
Reviewer
Restricted Project
Differential Revision
D4926: move MANDATORY_SCRIPT_VERIFY_FLAGS to policy.h
Parents
rSTAGING5c92e06b6a0d: [tests] remove test_bitcoin.h dependency on txmempool.h
Branches
Unknown
Tags
Unknown