mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
refactor: remove exceeding evodb.h from headers
This commit is contained in:
parent
a9a2d4adbe
commit
6f7068ef42
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
#include <evo/assetlocktx.h>
|
#include <evo/assetlocktx.h>
|
||||||
#include <evo/cbtx.h>
|
#include <evo/cbtx.h>
|
||||||
|
#include <evo/evodb.h>
|
||||||
#include <evo/specialtx.h>
|
#include <evo/specialtx.h>
|
||||||
|
|
||||||
#include <chain.h>
|
#include <chain.h>
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#include <coins.h>
|
#include <coins.h>
|
||||||
|
|
||||||
#include <evo/assetlocktx.h>
|
#include <evo/assetlocktx.h>
|
||||||
#include <evo/evodb.h>
|
|
||||||
|
|
||||||
#include <saltedhasher.h>
|
#include <saltedhasher.h>
|
||||||
#include <serialize.h>
|
#include <serialize.h>
|
||||||
@ -23,6 +22,7 @@
|
|||||||
class BlockManager;
|
class BlockManager;
|
||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
class BlockValidationState;
|
class BlockValidationState;
|
||||||
|
class CEvoDB;
|
||||||
class TxValidationState;
|
class TxValidationState;
|
||||||
namespace Consensus {
|
namespace Consensus {
|
||||||
struct Params;
|
struct Params;
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// Distributed under the MIT software license, see the accompanying
|
// Distributed under the MIT software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
|
#include <evo/evodb.h>
|
||||||
#include <evo/deterministicmns.h>
|
#include <evo/deterministicmns.h>
|
||||||
#include <evo/dmn_types.h>
|
#include <evo/dmn_types.h>
|
||||||
#include <evo/dmnstate.h>
|
#include <evo/dmnstate.h>
|
||||||
|
@ -8,10 +8,10 @@
|
|||||||
#include <evo/dmnstate.h>
|
#include <evo/dmnstate.h>
|
||||||
|
|
||||||
#include <arith_uint256.h>
|
#include <arith_uint256.h>
|
||||||
|
#include <clientversion.h>
|
||||||
#include <consensus/params.h>
|
#include <consensus/params.h>
|
||||||
#include <crypto/common.h>
|
#include <crypto/common.h>
|
||||||
#include <evo/dmn_types.h>
|
#include <evo/dmn_types.h>
|
||||||
#include <evo/evodb.h>
|
|
||||||
#include <evo/providertx.h>
|
#include <evo/providertx.h>
|
||||||
#include <saltedhasher.h>
|
#include <saltedhasher.h>
|
||||||
#include <scheduler.h>
|
#include <scheduler.h>
|
||||||
@ -30,6 +30,7 @@ class CBlock;
|
|||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
class CChainState;
|
class CChainState;
|
||||||
class CConnman;
|
class CConnman;
|
||||||
|
class CEvoDB;
|
||||||
class TxValidationState;
|
class TxValidationState;
|
||||||
|
|
||||||
extern RecursiveMutex cs_main;
|
extern RecursiveMutex cs_main;
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
#include <consensus/validation.h>
|
#include <consensus/validation.h>
|
||||||
#include <deploymentstatus.h>
|
#include <deploymentstatus.h>
|
||||||
|
#include <evo/evodb.h>
|
||||||
#include <evo/mnhftx.h>
|
#include <evo/mnhftx.h>
|
||||||
#include <evo/specialtx.h>
|
#include <evo/specialtx.h>
|
||||||
#include <llmq/commitment.h>
|
#include <llmq/commitment.h>
|
||||||
|
@ -90,6 +90,7 @@
|
|||||||
#include <spork.h>
|
#include <spork.h>
|
||||||
#include <walletinitinterface.h>
|
#include <walletinitinterface.h>
|
||||||
|
|
||||||
|
#include <evo/evodb.h>
|
||||||
#include <evo/chainhelper.h>
|
#include <evo/chainhelper.h>
|
||||||
#include <evo/creditpool.h>
|
#include <evo/creditpool.h>
|
||||||
#include <evo/deterministicmns.h>
|
#include <evo/deterministicmns.h>
|
||||||
|
@ -11,10 +11,12 @@
|
|||||||
#include <llmq/params.h>
|
#include <llmq/params.h>
|
||||||
#include <llmq/utils.h>
|
#include <llmq/utils.h>
|
||||||
|
|
||||||
|
#include <evo/evodb.h>
|
||||||
#include <evo/specialtx.h>
|
#include <evo/specialtx.h>
|
||||||
#include <evo/deterministicmns.h>
|
#include <evo/deterministicmns.h>
|
||||||
|
|
||||||
#include <chainparams.h>
|
#include <chainparams.h>
|
||||||
|
#include <dbwrapper.h>
|
||||||
#include <masternode/node.h>
|
#include <masternode/node.h>
|
||||||
#include <masternode/sync.h>
|
#include <masternode/sync.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
@ -230,6 +232,11 @@ CQuorumManager::CQuorumManager(CBLSWorker& _blsWorker, CChainState& chainstate,
|
|||||||
MigrateOldQuorumDB(_evoDb);
|
MigrateOldQuorumDB(_evoDb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CQuorumManager::~CQuorumManager()
|
||||||
|
{
|
||||||
|
Stop();
|
||||||
|
}
|
||||||
|
|
||||||
void CQuorumManager::Start()
|
void CQuorumManager::Start()
|
||||||
{
|
{
|
||||||
int workerCount = std::thread::hardware_concurrency() / 2;
|
int workerCount = std::thread::hardware_concurrency() / 2;
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
#include <bls/bls.h>
|
#include <bls/bls.h>
|
||||||
#include <bls/bls_worker.h>
|
#include <bls/bls_worker.h>
|
||||||
|
|
||||||
#include <evo/evodb.h>
|
|
||||||
#include <net_types.h>
|
#include <net_types.h>
|
||||||
#include <gsl/pointers.h>
|
#include <gsl/pointers.h>
|
||||||
|
|
||||||
@ -26,8 +25,11 @@ class CActiveMasternodeManager;
|
|||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
class CChainState;
|
class CChainState;
|
||||||
class CConnman;
|
class CConnman;
|
||||||
|
class CDataStream;
|
||||||
class CDeterministicMN;
|
class CDeterministicMN;
|
||||||
class CDeterministicMNManager;
|
class CDeterministicMNManager;
|
||||||
|
class CDBWrapper;
|
||||||
|
class CEvoDB;
|
||||||
class CMasternodeSync;
|
class CMasternodeSync;
|
||||||
class CNode;
|
class CNode;
|
||||||
class CSporkManager;
|
class CSporkManager;
|
||||||
@ -258,7 +260,7 @@ public:
|
|||||||
CDKGSessionManager& _dkgManager, CEvoDB& _evoDb, CQuorumBlockProcessor& _quorumBlockProcessor,
|
CDKGSessionManager& _dkgManager, CEvoDB& _evoDb, CQuorumBlockProcessor& _quorumBlockProcessor,
|
||||||
const CActiveMasternodeManager* const mn_activeman, const CMasternodeSync& mn_sync,
|
const CActiveMasternodeManager* const mn_activeman, const CMasternodeSync& mn_sync,
|
||||||
const CSporkManager& sporkman, bool unit_tests, bool wipe);
|
const CSporkManager& sporkman, bool unit_tests, bool wipe);
|
||||||
~CQuorumManager() { Stop(); };
|
~CQuorumManager();
|
||||||
|
|
||||||
void Start();
|
void Start();
|
||||||
void Stop();
|
void Stop();
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
#include <llmq/snapshot.h>
|
#include <llmq/snapshot.h>
|
||||||
|
|
||||||
|
#include <evo/evodb.h>
|
||||||
#include <evo/simplifiedmns.h>
|
#include <evo/simplifiedmns.h>
|
||||||
#include <evo/specialtx.h>
|
#include <evo/specialtx.h>
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
#ifndef BITCOIN_LLMQ_SNAPSHOT_H
|
#ifndef BITCOIN_LLMQ_SNAPSHOT_H
|
||||||
#define BITCOIN_LLMQ_SNAPSHOT_H
|
#define BITCOIN_LLMQ_SNAPSHOT_H
|
||||||
|
|
||||||
#include <evo/evodb.h>
|
|
||||||
#include <evo/simplifiedmns.h>
|
#include <evo/simplifiedmns.h>
|
||||||
#include <llmq/commitment.h>
|
#include <llmq/commitment.h>
|
||||||
#include <llmq/params.h>
|
#include <llmq/params.h>
|
||||||
@ -20,6 +19,7 @@
|
|||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
class CDeterministicMN;
|
class CDeterministicMN;
|
||||||
class CDeterministicMNList;
|
class CDeterministicMNList;
|
||||||
|
class CEvoDb;
|
||||||
|
|
||||||
namespace llmq {
|
namespace llmq {
|
||||||
class CQuorumBlockProcessor;
|
class CQuorumBlockProcessor;
|
||||||
|
Loading…
Reference in New Issue
Block a user