]>
Commit | Line | Data |
---|---|---|
8bd66202 | 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto |
f914f1a7 | 2 | // Copyright (c) 2009-2014 The Bitcoin Core developers |
c5b390b6 | 3 | // Distributed under the MIT software license, see the accompanying |
3a25a2b9 | 4 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. |
51ed9ec9 | 5 | |
223b6f1b WL |
6 | #ifndef BITCOIN_INIT_H |
7 | #define BITCOIN_INIT_H | |
8bd66202 | 8 | |
722fa283 | 9 | #include <string> |
722fa283 | 10 | |
2dc35992 | 11 | #include "zcash/JoinSplit.hpp" |
4f1c3798 | 12 | |
ddd0acd3 | 13 | class CScheduler; |
722fa283 | 14 | class CWallet; |
ed6d0b5f | 15 | |
20e01b1a PW |
16 | namespace boost |
17 | { | |
18 | class thread_group; | |
e10dcf27 | 19 | } // namespace boost |
51ed9ec9 | 20 | |
64c7ee7e | 21 | extern CWallet* pwalletMain; |
2dc35992 | 22 | extern ZCJoinSplit* pzcashParams; |
64c7ee7e | 23 | |
9247134e | 24 | void StartShutdown(); |
723035bb | 25 | bool ShutdownRequested(); |
afd64f76 WL |
26 | /** Interrupt threads */ |
27 | void Interrupt(boost::thread_group& threadGroup); | |
b31499ec | 28 | void Shutdown(); |
ddd0acd3 | 29 | bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler); |
2a03a390 | 30 | |
c5b390b6 | 31 | /** The help message mode determines what help message to show */ |
20e01b1a | 32 | enum HelpMessageMode { |
07cf4264 | 33 | HMM_BITCOIND |
2a03a390 WL |
34 | }; |
35 | ||
45615af2 | 36 | /** Help for options shared between UI and daemon (for -help) */ |
2a03a390 | 37 | std::string HelpMessage(HelpMessageMode mode); |
223b6f1b | 38 | |
093303a8 | 39 | #endif // BITCOIN_INIT_H |