Bitcoin Core  0.19.99
P2P Digital Currency
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2019 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or
6 #ifndef BITCOIN_INIT_H
7 #define BITCOIN_INIT_H
9 #include <memory>
10 #include <string>
11 #include <util/system.h>
13 struct NodeContext;
14 namespace boost {
15 class thread_group;
16 } // namespace boost
19 void Interrupt(NodeContext& node);
20 void Shutdown(NodeContext& node);
22 void InitLogging();
30 bool AppInitBasicSetup();
42 bool AppInitSanityChecks();
54 bool AppInitMain(NodeContext& node);
59 void SetupServerArgs();
62 std::string LicenseInfo();
64 #endif // BITCOIN_INIT_H
Definition: init.h:14
bool AppInitSanityChecks()
Initialization sanity checks: ecc init, sanity checks, dir lock.
Definition: init.cpp:1163
void InitParameterInteraction()
Parameter interaction: change current parameters depending on various rules.
Definition: init.cpp:767
void InitLogging()
Initialize the logging infrastructure.
Definition: init.cpp:836
bool AppInitParameterInteraction()
Initialization: parameter interaction.
Definition: init.cpp:921
NodeContext struct containing references to chain state and connection state.
Definition: context.h:31
bool AppInitLockDataDirectory()
Lock bitcoin core data directory.
Definition: init.cpp:1184
bool AppInitMain(NodeContext &node)
Bitcoin core main initialization.
Definition: init.cpp:1196
void Interrupt(NodeContext &node)
Interrupt threads.
Definition: init.cpp:161
bool AppInitBasicSetup()
Initialize bitcoin core: Basic context setup.
Definition: init.cpp:880
std::string LicenseInfo()
Returns licensing information (for -version)
Definition: init.cpp:564
void Shutdown(NodeContext &node)
Definition: init.cpp:177
void SetupServerArgs()
Setup the arguments for gArgs.
Definition: init.cpp:350