HomePhabricator

[avalanche] initialize avalanche before node.peerman

Description

[avalanche] initialize avalanche before node.peerman

Summary: In a next commit, when g_avalanche is removed, the PeerManager::make() factory will need a pointer to m_node.avalanche. Moving the avalanche initialization before the PeerManager initialization in advance makes the following commit slightly easier to review.

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on May 27 2024, 09:53
teamcityPushed on May 30 2024, 13:47
Parents
rSTAGINGf511f93f63f7: RPC: make RPCResult::MatchesType return useful errors
Branches
Unknown
Tags
Unknown

Event Timeline