BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
init.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2018 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_INIT_H
7 #define BITCOIN_INIT_H
8 
9 #include <memory>
10 #include <string>
11 #include <util.h>
12 
13 class CScheduler;
14 class CWallet;
15 
16 namespace boost
17 {
18 class thread_group;
19 } // namespace boost
20 
22 void Interrupt();
23 void Shutdown();
25 void InitLogging();
28 
33 bool AppInitBasicSetup();
45 bool AppInitSanityChecks();
57 bool AppInitMain();
58 
62 void SetupServerArgs();
63 
65 std::string LicenseInfo();
66 
67 #endif // BITCOIN_INIT_H
bool AppInitMain()
Bitcoin core main initialization.
Definition: init.cpp:1152
Definition: init.h:16
bool AppInitSanityChecks()
Initialization sanity checks: ecc init, sanity checks, dir lock.
Definition: init.cpp:1119
void Shutdown()
Definition: init.cpp:159
void InitParameterInteraction()
Parameter interaction: change current parameters depending on various rules.
Definition: init.cpp:726
void InitLogging()
Initialize the logging infrastructure.
Definition: init.cpp:805
bool AppInitParameterInteraction()
Initialization: parameter interaction.
Definition: init.cpp:902
bool AppInitLockDataDirectory()
Lock bitcoin core data directory.
Definition: init.cpp:1140
void Interrupt()
Interrupt threads.
Definition: init.cpp:144
bool AppInitBasicSetup()
Initialize bitcoin core: Basic context setup.
Definition: init.cpp:852
std::string LicenseInfo()
Returns licensing information (for -version)
Definition: init.cpp:509
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:599
void SetupServerArgs()
Setup the arguments for gArgs.
Definition: init.cpp:315