mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
refactor: moved including llmq/dkgsession.h from dkgsessionmgr.h to cpp file
This commit is contained in:
parent
e77aeb321b
commit
d361b11e5b
@ -3,6 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/debug.h>
|
||||
#include <llmq/dkgsession.h>
|
||||
#include <llmq/dkgsessionmgr.h>
|
||||
#include <llmq/options.h>
|
||||
#include <llmq/params.h>
|
||||
@ -56,6 +57,8 @@ CDKGSessionManager::CDKGSessionManager(CBLSWorker& _blsWorker, CChainState& chai
|
||||
}
|
||||
}
|
||||
|
||||
CDKGSessionManager::~CDKGSessionManager() = default;
|
||||
|
||||
void CDKGSessionManager::MigrateDKG()
|
||||
{
|
||||
if (!db->IsEmpty()) return;
|
||||
|
@ -6,8 +6,8 @@
|
||||
#define BITCOIN_LLMQ_DKGSESSIONMGR_H
|
||||
|
||||
#include <llmq/dkgsessionhandler.h>
|
||||
#include <llmq/dkgsession.h>
|
||||
#include <bls/bls.h>
|
||||
#include <bls/bls_ies.h>
|
||||
#include <bls/bls_worker.h>
|
||||
#include <net_types.h>
|
||||
|
||||
@ -23,6 +23,10 @@ class CDKGDebugManager;
|
||||
class CMasternodeMetaMan;
|
||||
class CSporkManager;
|
||||
class PeerManager;
|
||||
class CDKGContribution;
|
||||
class CDKGComplaint;
|
||||
class CDKGJustification;
|
||||
class CDKGPrematureCommitment;
|
||||
|
||||
class UniValue;
|
||||
|
||||
@ -71,7 +75,7 @@ public:
|
||||
CDKGDebugManager& _dkgDebugManager, CMasternodeMetaMan& mn_metaman, CQuorumBlockProcessor& _quorumBlockProcessor,
|
||||
const CActiveMasternodeManager* const mn_activeman, const CSporkManager& sporkman,
|
||||
const std::unique_ptr<PeerManager>& peerman, bool unitTests, bool fWipe);
|
||||
~CDKGSessionManager() = default;
|
||||
~CDKGSessionManager();
|
||||
|
||||
void StartThreads();
|
||||
void StopThreads();
|
||||
|
@ -61,6 +61,7 @@
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/context.h>
|
||||
#include <llmq/dkgsession.h>
|
||||
#include <llmq/dkgsessionmgr.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <llmq/options.h>
|
||||
|
Loading…
Reference in New Issue
Block a user