HomePhabricator

[avalanche] pass the processor to Chainstate::ActivateBestChain[Step]

Description

[avalanche] pass the processor to Chainstate::ActivateBestChain[Step]

Summary:
Another step in removing access to the g_avalanche global in Chainstate code.

This adds g_avalanche access in rpc/blockchain.cpp, but this is only temporary because in a later diff the processor will be avaialble through the node context.

Depends on D16265

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Jun 4 2024, 08:51
PiRKPushed on Jun 5 2024, 08:35
Reviewer
Restricted Project
Differential Revision
D16266: [avalanche] pass the processor to Chainstate::ActivateBestChain[Step]
Parents
rABCd367f8912132: Unsubtree Univalue
Branches
Unknown
Tags
Unknown