Fix make_change to not create half-satoshis
[bitcoinplatinum.git] / src / init.h
blobcf1d1e7e396ad24a09c73f0ff9d338b4fa4df5d0
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2013 The Bitcoin developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 #ifndef BITCOIN_INIT_H
7 #define BITCOIN_INIT_H
9 #include <string>
11 class CWallet;
13 namespace boost {
14 class thread_group;
15 } // namespace boost
17 extern CWallet* pwalletMain;
19 void StartShutdown();
20 bool ShutdownRequested();
21 void Shutdown();
22 bool AppInit2(boost::thread_group& threadGroup);
24 /* The help message mode determines what help message to show */
25 enum HelpMessageMode
27 HMM_BITCOIND,
28 HMM_BITCOIN_QT
31 /** Help for options shared between UI and daemon (for -help) */
32 std::string HelpMessage(HelpMessageMode mode);
33 /** Returns licensing information (for -version) */
34 std::string LicenseInfo();
36 #endif // BITCOIN_INIT_H