Page MenuHomePhabricator

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

Authored by Fabien on Apr 3 2024, 19:43.

Details

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.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable