HomePhabricator

[avalanche] pass the processor to Chainstate::ProcessNewBlock

Description

[avalanche] pass the processor to Chainstate::ProcessNewBlock

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

This adds some g_avalanche callsites in RPC commands, but they will be removed in a later diff when the node context owns avalanche.
Depends on D16267

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Jun 4 2024, 09:31
PiRKPushed on Jun 5 2024, 08:35
Reviewer
Restricted Project
Differential Revision
D16268: [avalanche] pass the processor to Chainstate::ProcessNewBlock
Parents
rABCf7b37e5b553d: [avalanche] pass the avalanche processor to Chainstate::LoadExternalBlockFile…
Branches
Unknown
Tags
Unknown