Page MenuHomePhabricator

refactor: make Config a CChainstate member variable
AbandonedPublic

Authored by PiRK on Oct 10 2022, 14:10.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Summary

It is used in 9 different CChainstate methods, so it makes sense to include it in the class, like we did for Params in D12189

Depends on D12190

Test Plan

ninja all check-all

Event Timeline

PiRK requested review of this revision.Oct 10 2022, 14:10
Fabien requested changes to this revision.Oct 10 2022, 14:50
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/validation.h
838

CChainParams is already a member of Config

This revision now requires changes to proceed.Oct 10 2022, 14:50