2017-11-09 19:34:51 +01:00
|
|
|
/*
|
|
|
|
|
* This file is part of the Flowee project
|
|
|
|
|
* Copyright (C) 2009-2010 Satoshi Nakamoto
|
|
|
|
|
* Copyright (C) 2009-2015 The Bitcoin Core developers
|
|
|
|
|
*
|
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
2013-04-13 00:13:08 -05:00
|
|
|
|
2018-01-16 10:47:52 +00:00
|
|
|
#ifndef FLOWEE_INIT_H
|
|
|
|
|
#define FLOWEE_INIT_H
|
2010-07-14 15:54:31 +00:00
|
|
|
|
2013-10-19 18:42:14 +02:00
|
|
|
#include <string>
|
|
|
|
|
|
2015-04-03 11:50:06 -04:00
|
|
|
class CScheduler;
|
2013-10-19 18:42:14 +02:00
|
|
|
class CWallet;
|
2012-04-15 22:10:54 +02:00
|
|
|
|
2014-09-19 19:21:46 +02:00
|
|
|
namespace boost
|
|
|
|
|
{
|
|
|
|
|
class thread_group;
|
2014-06-24 14:17:43 +02:00
|
|
|
} // namespace boost
|
2013-04-13 00:13:08 -05:00
|
|
|
|
2011-06-01 18:28:20 +02:00
|
|
|
extern CWallet* pwalletMain;
|
|
|
|
|
|
2012-06-11 07:40:14 +02:00
|
|
|
void StartShutdown();
|
2013-03-23 18:14:12 -04:00
|
|
|
bool ShutdownRequested();
|
2015-01-23 07:53:17 +01:00
|
|
|
/** Interrupt threads */
|
|
|
|
|
void Interrupt(boost::thread_group& threadGroup);
|
2013-03-09 12:02:57 -05:00
|
|
|
void Shutdown();
|
2015-11-26 14:03:27 +01:00
|
|
|
//!Initialize the logging infrastructure
|
|
|
|
|
void InitLogging();
|
2015-10-08 09:58:31 +02:00
|
|
|
//!Parameter interaction: change current parameters depending on various rules
|
|
|
|
|
void InitParameterInteraction();
|
2015-04-03 11:50:06 -04:00
|
|
|
bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler);
|
2017-02-21 13:44:48 +01:00
|
|
|
|
2018-01-16 10:47:52 +00:00
|
|
|
#endif
|