diff --git a/src/llmq/dkgsessionmgr.cpp b/src/llmq/dkgsessionmgr.cpp index eefaeaef18..d614e69b59 100644 --- a/src/llmq/dkgsessionmgr.cpp +++ b/src/llmq/dkgsessionmgr.cpp @@ -3,6 +3,7 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include +#include #include #include #include @@ -56,6 +57,8 @@ CDKGSessionManager::CDKGSessionManager(CBLSWorker& _blsWorker, CChainState& chai } } +CDKGSessionManager::~CDKGSessionManager() = default; + void CDKGSessionManager::MigrateDKG() { if (!db->IsEmpty()) return; diff --git a/src/llmq/dkgsessionmgr.h b/src/llmq/dkgsessionmgr.h index 92094063a8..3affac23f6 100644 --- a/src/llmq/dkgsessionmgr.h +++ b/src/llmq/dkgsessionmgr.h @@ -6,8 +6,8 @@ #define BITCOIN_LLMQ_DKGSESSIONMGR_H #include -#include #include +#include #include #include @@ -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& peerman, bool unitTests, bool fWipe); - ~CDKGSessionManager() = default; + ~CDKGSessionManager(); void StartThreads(); void StopThreads(); diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 542679c6df..43649407cc 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -61,6 +61,7 @@ #include #include #include +#include #include #include #include