Page MenuHomePhabricator

fix wrong include prior to backporting 15639
ClosedPublic

Authored by majcosta on May 26 2020, 02:26.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCed7b9d668939: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.May 26 2020, 08:03