zcashd/src/init.h

39 lines
901 B
C
Raw Normal View History

2010-07-14 08:54:31 -07:00
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_INIT_H
#define BITCOIN_INIT_H
2010-07-14 08:54:31 -07:00
#include <string>
2016-05-04 17:26:21 -07:00
#include "zcash/JoinSplit.hpp"
class CScheduler;
class CWallet;
2012-04-15 13:10:54 -07:00
namespace boost
{
class thread_group;
} // namespace boost
extern CWallet* pwalletMain;
2016-05-04 17:26:21 -07:00
extern ZCJoinSplit* pzcashParams;
void StartShutdown();
bool ShutdownRequested();
2013-03-09 09:02:57 -08:00
void Shutdown();
bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler);
/** The help message mode determines what help message to show */
enum HelpMessageMode {
HMM_BITCOIND,
HMM_BITCOIN_QT
};
/** Help for options shared between UI and daemon (for -help) */
std::string HelpMessage(HelpMessageMode mode);
#endif // BITCOIN_INIT_H