HomePhabricator

fix wrong include prior to backporting 15639

Description

fix wrong include prior to backporting 15639

Summary:
in D5967 (core commit) I've included policy/settings.h in policy/policy.h
so that our version of GetVirtualTransactionSize still had access to
::nBytesPerSigOp

recently while working on commit b874747b51882a613895a100c4210c7f1dddde30 of PR15639,
I realize, in hindsight, that looks wrong

this diff reverts the include I added to policy.h, moves our version of
GetVirtualTransactionSize to settings.h ahead of PR15639 and makes
the other necessary changes

Test Plan:

ninja check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
majcostaAuthored on May 26 2020, 01:16
majcostaPushed on May 26 2020, 11:59
Reviewer
Restricted Project
Differential Revision
D6253: fix wrong include prior to backporting 15639
Parents
rABCf5a55e228fe3: [CMAKE] Move the OpenSSL symbol detection to Qt rather than config
Branches
Unknown
Tags
Unknown