PRCYCoin  2.0.0.7rc1
P2P Digital Currency
init.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2014 The Bitcoin 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 <string>
10 class CScheduler;
11 class CWallet;
12 
13 namespace boost
14 {
15 class thread_group;
16 } // namespace boost
17 
18 void StartShutdown();
19 bool ShutdownRequested();
20 
22 void Interrupt();
23 void Shutdown();
24 void PrepareShutdown();
26 void InitLogging();
29 bool AppInit2(bool isDaemon);
30 
35 bool AppInitBasicSetup();
36 
41 };
42 
44 std::string HelpMessage(HelpMessageMode mode);
46 std::string LicenseInfo();
47 
48 #endif // BITCOIN_INIT_H
CScheduler
Definition: scheduler.h:37
LicenseInfo
std::string LicenseInfo()
Returns licensing information (for -version)
Definition: init.cpp:574
Interrupt
void Interrupt()
Interrupt threads.
Definition: init.cpp:166
AppInitBasicSetup
bool AppInitBasicSetup()
Initialize PRCY: Basic context setup.
Definition: init.cpp:764
StartShutdown
void StartShutdown()
Definition: init.cpp:131
InitLogging
void InitLogging()
Initialize the logging infrastructure.
Definition: init.cpp:880
AppInit2
bool AppInit2(bool isDaemon)
Initialize prcy.
Definition: init.cpp:909
Shutdown
void Shutdown()
Shutdown is split into 2 parts: Part 1: shut down everything but the main wallet instance (done in Pr...
Definition: init.cpp:274
PrepareShutdown
void PrepareShutdown()
Preparing steps before shutting down or restarting the wallet.
Definition: init.cpp:176
HelpMessageMode
HelpMessageMode
The help message mode determines what help message to show.
Definition: init.h:38
CWallet
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...
Definition: wallet.h:243
ShutdownRequested
bool ShutdownRequested()
Definition: init.cpp:135
HMM_BITCOIND
@ HMM_BITCOIND
Definition: init.h:39
HelpMessage
std::string HelpMessage(HelpMessageMode mode)
Help for options shared between UI and daemon (for -help)
Definition: init.cpp:354
HMM_BITCOIN_QT
@ HMM_BITCOIN_QT
Definition: init.h:40
InitParameterInteraction
void InitParameterInteraction()
Parameter interaction: change current parameters depending on various rules.
Definition: init.cpp:811