Bitcoin Core  22.99.0
P2P Digital Currency
common.h
Go to the documentation of this file.
1 // Copyright (c) 2021 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
7 
8 #ifndef BITCOIN_INIT_COMMON_H
9 #define BITCOIN_INIT_COMMON_H
10 
11 class ArgsManager;
12 
13 namespace init {
14 void SetGlobals();
15 void UnsetGlobals();
20 bool SanityChecks();
21 void AddLoggingArgs(ArgsManager& args);
22 void SetLoggingOptions(const ArgsManager& args);
23 void SetLoggingCategories(const ArgsManager& args);
24 bool StartLogging(const ArgsManager& args);
25 void LogPackageVersion();
26 } // namespace init
27 
28 #endif // BITCOIN_INIT_COMMON_H
init::SanityChecks
bool SanityChecks()
Ensure a usable environment with all necessary library support.
Definition: common.cpp:41
init::SetLoggingCategories
void SetLoggingCategories(const ArgsManager &args)
Definition: common.cpp:96
init::SetGlobals
void SetGlobals()
Definition: common.cpp:26
init::SetLoggingOptions
void SetLoggingOptions(const ArgsManager &args)
Definition: common.cpp:81
init::LogPackageVersion
void LogPackageVersion()
Definition: common.cpp:157
init::UnsetGlobals
void UnsetGlobals()
Definition: common.cpp:35
ArgsManager
Definition: system.h:158
init::StartLogging
bool StartLogging(const ArgsManager &args)
Definition: common.cpp:120
init
Definition: bitcoin-node.cpp:16
init::AddLoggingArgs
void AddLoggingArgs(ArgsManager &argsman)
Definition: common.cpp:61