HomePhabricator

[chronik] Don't show "Stopping Chronik..." in the log when chronik is not…

Description

[chronik] Don't show "Stopping Chronik..." in the log when chronik is not enabled

Summary: The chronik::Stop() function is called unconditionally if chronik is built-in, even if it is not enabled via the node option which is confusing.

Test Plan:
Build with Chronik, then:

./src/bitcoind

After a few seconds, kill bitcoind with CTRL+C and check the log doesn't contain any chronik related line.

Reviewers: #bitcoin_abc, tobias_ruck

Reviewed By: #bitcoin_abc, tobias_ruck

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

Details

Provenance
FabienAuthored on Apr 3 2024, 19:41
FabienPushed on Apr 3 2024, 19:52
Reviewer
Restricted Project
Differential Revision
D15878: [chronik] Don't show "Stopping Chronik..." in the log when chronik is not enabled
Parents
rABCeb9f5e670a9f: [doc] Update the release process to use GUIX instead of Gitian
Branches
Unknown
Tags
Unknown