PIVX Core  5.6.99
P2P Digital Currency
quorums_init.h
Go to the documentation of this file.
1 // Copyright (c) 2018-2021 The Dash Core developers
2 // Copyright (c) 2021 The PIVX Core developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef PIVX_LLMQ_QUORUMS_INIT_H
7 #define PIVX_LLMQ_QUORUMS_INIT_H
8 
9 #include "scheduler.h"
10 
11 class CDBWrapper;
12 class CEvoDB;
13 
14 namespace llmq
15 {
16 
17 // Init/destroy LLMQ globals
18 void InitLLMQSystem(CEvoDB& evoDb, CScheduler* scheduler, bool unitTests);
19 void DestroyLLMQSystem();
20 
21 // Manage scheduled tasks, threads, listeners etc.
22 void StartLLMQSystem();
23 void StopLLMQSystem();
24 void InterruptLLMQSystem();
25 
26 } // namespace llmq
27 
28 #endif // PIVX_LLMQ_QUORUMS_INIT_H
Definition: evodb.h:32
std::unique_ptr< CEvoDB > evoDb
Definition: evodb.cpp:10
Definition: quorums.cpp:26
void DestroyLLMQSystem()
void StartLLMQSystem()
void InterruptLLMQSystem()
void StopLLMQSystem()
void InitLLMQSystem(CEvoDB &evoDb, CScheduler *scheduler, bool unitTests)
CScheduler scheduler