HomePhabricator

Do not call global Params() when chainman is in scope

Description

Do not call global Params() when chainman is in scope

Summary:
Some of the callsite in the original PR do not exist in our codebase or use a config.GetChainParams()

This is a partial backport of core#25168
https://github.com/bitcoin/bitcoin/pull/25168/commits/fa1b76aeb064b315a3767a8f59836ca18aeb117e

Depends on D14599

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Oct 4 2023, 16:11
PiRKPushed on Oct 5 2023, 03:34
Reviewer
Restricted Project
Differential Revision
D14600: Do not call global Params() when chainman is in scope
Parents
rABC21d3f69b4cdb: Do not pass CChainParams& to PeerManager::make
Branches
Unknown
Tags
Unknown