HomePhabricator

[Chronik] Add `ENABLE_CHRONIK` #define macro

Description

[Chronik] Add ENABLE_CHRONIK #define macro

Summary: This is required for conditional compilation in the C++ code depending on whether Chronik is enabled.

Test Plan:

  1. cmake with -DBUILD_BITCOIN_CHRONIK=ON generates #define ENABLE_CHRONIK 1 in build/src/config/bitcoin-config.h
  2. cmake with -DBUILD_BITCOIN_CHRONIK=OFF generates #define ENABLE_CHRONIK 0 in build/src/config/bitcoin-config.h

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Jul 26 2022, 19:15
tobias_ruckPushed on Jul 27 2022, 17:52
Reviewer
Restricted Project
Differential Revision
D11806: [Chronik] Add `ENABLE_CHRONIK` #define macro
Parents
rABCc3de9a21195e: [avalanche] Verify that polling has started on an item before verifying that it…
Branches
Unknown
Tags
Unknown