HomePhabricator

make FindBlockToFinalize a CChainState member

Description

make FindBlockToFinalize a CChainState member

Summary: The function needs the chainstate, and previously relied on ::ChainstateActive()

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Jul 13 2022, 16:18
PiRKPushed on Jul 15 2022, 10:45
Reviewer
Restricted Project
Differential Revision
D11744: make FindBlockToFinalize a CChainState member
Parents
rABCde05c8ddedd6: refactor: Replace uses ChainActive() in interfaces/chain.cpp (follow-up)
Branches
Unknown
Tags
Unknown