Fabcoin Core  0.16.2
P2P Digital Currency
init.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2017 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 FABCOIN_INIT_H
7 #define FABCOIN_INIT_H
8 
9 #include <string>
10 
11 class CScheduler;
12 class CWallet;
13 
14 namespace boost
15 {
16 class thread_group;
17 } // namespace boost
18 
19 void StartShutdown();
20 bool ShutdownRequested();
22 void Interrupt(boost::thread_group& threadGroup);
23 void Shutdown();
25 void InitLogging();
28 
33 bool AppInitBasicSetup();
45 bool AppInitSanityChecks();
57 bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler);
58 
63 };
64 
66 std::string HelpMessage(HelpMessageMode mode);
68 std::string LicenseInfo();
69 
71 void UnlockDataDirectory();
72 
73 
74 #endif // FABCOIN_INIT_H
bool ShutdownRequested()
Definition: init.cpp:126
Definition: Log.h:35
bool AppInitSanityChecks()
Initialization sanity checks: ecc init, sanity checks, dir lock.
Definition: init.cpp:1220
void Interrupt(boost::thread_group &threadGroup)
Interrupt threads.
Definition: init.cpp:159
HelpMessageMode
The help message mode determines what help message to show.
Definition: init.h:60
void Shutdown()
Definition: init.cpp:171
evm_mode mode
Definition: SmartVM.cpp:47
std::string HelpMessage(HelpMessageMode mode)
Help for options shared between UI and daemon (for -help)
Definition: init.cpp:338
void InitParameterInteraction()
Parameter interaction: change current parameters depending on various rules.
Definition: init.cpp:774
void InitLogging()
Initialize the logging infrastructure.
Definition: init.cpp:851
bool AppInitMain(boost::thread_group &threadGroup, CScheduler &scheduler)
Fabcoin core main initialization.
Definition: init.cpp:1253
void UnlockDataDirectory()
Unlock the data directory.
Definition: init.cpp:1840
bool AppInitParameterInteraction()
Initialization: parameter interaction.
Definition: init.cpp:933
bool AppInitLockDataDirectory()
Lock fabcoin core data directory.
Definition: init.cpp:1241
bool AppInitBasicSetup()
Initialize fabcoin core: Basic context setup.
Definition: init.cpp:885
std::string LicenseInfo()
Returns licensing information (for -version)
Definition: init.cpp:558
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:672
void StartShutdown()
Definition: init.cpp:122