Raven Core  3.0.0
P2P Digital Currency
init.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2016 The Bitcoin Core developers
3 // Copyright (c) 2017-2019 The Raven Core developers
4 // Distributed under the MIT software license, see the accompanying
5 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 
7 #ifndef RAVEN_INIT_H
8 #define RAVEN_INIT_H
9 
10 #include <string>
11 
12 class CScheduler;
13 
14 class CWallet;
15 
16 namespace boost
17 {
18  class thread_group;
19 } // namespace boost
20 
21 void StartShutdown();
22 void StartRestart();
23 bool ShutdownRequested();
24 
26 void Interrupt(boost::thread_group &threadGroup);
27 
28 void Shutdown();
29 
31 void InitLogging();
32 
35 
40 bool AppInitBasicSetup();
41 
48 
54 bool AppInitSanityChecks();
55 
62 
68 bool AppInitMain(boost::thread_group &threadGroup, CScheduler &scheduler);
69 void PrepareShutdown();
70 
73 {
76 };
77 
79 std::string HelpMessage(HelpMessageMode mode);
80 
82 std::string LicenseInfo();
83 
84 #endif // RAVEN_INIT_H
bool ShutdownRequested()
Definition: init.cpp:136
Definition: init.h:16
bool AppInitSanityChecks()
Initialization sanity checks: ecc init, sanity checks, dir lock.
Definition: init.cpp:1258
void Interrupt(boost::thread_group &threadGroup)
Interrupt threads.
Definition: init.cpp:169
HelpMessageMode
The help message mode determines what help message to show.
Definition: init.h:72
void Shutdown()
Shutdown is split into 2 parts: Part 1: shut down everything but the main wallet instance (done in Pr...
Definition: init.cpp:336
std::string HelpMessage(HelpMessageMode mode)
Help for options shared between UI and daemon (for -help)
Definition: init.cpp:391
void InitParameterInteraction()
Parameter interaction: change current parameters depending on various rules.
Definition: init.cpp:813
void InitLogging()
Initialize the logging infrastructure.
Definition: init.cpp:890
bool AppInitMain(boost::thread_group &threadGroup, CScheduler &scheduler)
Raven core main initialization.
Definition: init.cpp:1291
bool AppInitParameterInteraction()
Initialization: parameter interaction.
Definition: init.cpp:971
bool AppInitLockDataDirectory()
Lock raven core data directory.
Definition: init.cpp:1279
bool AppInitBasicSetup()
Initialize raven core: Basic context setup.
Definition: init.cpp:923
void StartRestart()
Definition: init.cpp:132
std::string LicenseInfo()
Returns licensing information (for -version)
Definition: init.cpp:597
void PrepareShutdown()
Preparing steps before shutting down or restarting the wallet.
Definition: init.cpp:182
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:673
void StartShutdown()
Definition: init.cpp:128