HomePhabricator

[chronik] get consensus params via chainman

Description

[chronik] get consensus params via chainman

Summary: The ChainstateManager has access to the config, so no need to pass it to ChronikBridge when it has already a NodeContext. This removes one GetConfig() call and is a step towards unglobalizing the Config.

Test Plan:

cmake .. -GNinja -DBUILD_BITCOIN_CHRONIK=ON
ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on May 6 2024, 12:24
PiRKPushed on May 6 2024, 14:13
Reviewer
Restricted Project
Differential Revision
D16116: [chronik] get consensus params via chainman
Parents
rABC6a3a49d8d2a8: [ecash-herald] back out avalanche peername
Branches
Unknown
Tags
Unknown