Page MenuHomePhabricator

Move ChainImpl from interfaces/chain.cpp to node/interfaces.cpp
ClosedPublic

Authored by PiRK on Dec 4 2022, 10:36.

Details

Summary

No changes to ChainImpl or any related classes (review with git diff --color-moved=dimmed_zebra)

Also remove unused includes.

This is a partial backport of core#20494
https://github.com/bitcoin/bitcoin/pull/20494/commits/2a26771d8161d30be1853a35acfee588cce03634

Depends on D12746

Test Plan

ninja all check-all

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Dec 4 2022, 10:36
src/node/interfaces.cpp
25 ↗(On Diff #36942)

Needed for DEFAULT_ANCESTOR_LIMIT... etc
Core has these constants in policy/policy.h

46 ↗(On Diff #36942)

unused

Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/node/interfaces.cpp
623 ↗(On Diff #36942)
766 ↗(On Diff #36942)
This revision is now accepted and ready to land.Dec 4 2022, 13:19

clang-tidy style named parameters