mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
refactor: llmq/quorums_*[cpp/h] --> llmq/*.[cpp/h]
This commit is contained in:
parent
28a5e599bf
commit
f22be5a16b
@ -192,18 +192,18 @@ BITCOIN_CORE_H = \
|
||||
dbwrapper.h \
|
||||
limitedmap.h \
|
||||
llmq/quorums.h \
|
||||
llmq/quorums_blockprocessor.h \
|
||||
llmq/quorums_commitment.h \
|
||||
llmq/quorums_chainlocks.h \
|
||||
llmq/quorums_debug.h \
|
||||
llmq/quorums_dkgsessionhandler.h \
|
||||
llmq/quorums_dkgsessionmgr.h \
|
||||
llmq/quorums_dkgsession.h \
|
||||
llmq/quorums_init.h \
|
||||
llmq/quorums_instantsend.h \
|
||||
llmq/quorums_signing.h \
|
||||
llmq/quorums_signing_shares.h \
|
||||
llmq/quorums_utils.h \
|
||||
llmq/blockprocessor.h \
|
||||
llmq/commitment.h \
|
||||
llmq/chainlocks.h \
|
||||
llmq/debug.h \
|
||||
llmq/dkgsessionhandler.h \
|
||||
llmq/dkgsessionmgr.h \
|
||||
llmq/dkgsession.h \
|
||||
llmq/init.h \
|
||||
llmq/instantsend.h \
|
||||
llmq/signing.h \
|
||||
llmq/signing_shares.h \
|
||||
llmq/utils.h \
|
||||
logging.h \
|
||||
logging/timer.h \
|
||||
masternode/node.h \
|
||||
@ -357,18 +357,18 @@ libdash_server_a_SOURCES = \
|
||||
governance/vote.cpp \
|
||||
governance/votedb.cpp \
|
||||
llmq/quorums.cpp \
|
||||
llmq/quorums_blockprocessor.cpp \
|
||||
llmq/quorums_commitment.cpp \
|
||||
llmq/quorums_chainlocks.cpp \
|
||||
llmq/quorums_debug.cpp \
|
||||
llmq/quorums_dkgsessionhandler.cpp \
|
||||
llmq/quorums_dkgsessionmgr.cpp \
|
||||
llmq/quorums_dkgsession.cpp \
|
||||
llmq/quorums_init.cpp \
|
||||
llmq/quorums_instantsend.cpp \
|
||||
llmq/quorums_signing.cpp \
|
||||
llmq/quorums_signing_shares.cpp \
|
||||
llmq/quorums_utils.cpp \
|
||||
llmq/blockprocessor.cpp \
|
||||
llmq/commitment.cpp \
|
||||
llmq/chainlocks.cpp \
|
||||
llmq/debug.cpp \
|
||||
llmq/dkgsessionhandler.cpp \
|
||||
llmq/dkgsessionmgr.cpp \
|
||||
llmq/dkgsession.cpp \
|
||||
llmq/init.cpp \
|
||||
llmq/instantsend.cpp \
|
||||
llmq/signing.cpp \
|
||||
llmq/signing_shares.cpp \
|
||||
llmq/utils.cpp \
|
||||
masternode/node.cpp \
|
||||
masternode/meta.cpp \
|
||||
masternode/payments.cpp \
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <evo/specialtx.h>
|
||||
#include <evo/providertx.h>
|
||||
#include <evo/cbtx.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <hash.h>
|
||||
#include <script/script.h>
|
||||
#include <script/standard.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
#include <masternode/node.h>
|
||||
#include <masternode/sync.h>
|
||||
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <evo/cbtx.h>
|
||||
#include <evo/providertx.h>
|
||||
#include <evo/specialtx.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/commitment.h>
|
||||
|
||||
UniValue ValueFromAmount(const CAmount& amount)
|
||||
{
|
||||
|
@ -16,9 +16,9 @@
|
||||
#include <evo/mnauth.h>
|
||||
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/quorums_dkgsessionmgr.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <llmq/dkgsessionmgr.h>
|
||||
|
||||
void CDSNotificationInterface::InitializeCurrentBlockTip()
|
||||
{
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
#include <evo/cbtx.h>
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <evo/simplifiedmns.h>
|
||||
#include <evo/specialtx.h>
|
||||
#include <consensus/validation.h>
|
||||
|
@ -5,8 +5,8 @@
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <evo/specialtx.h>
|
||||
#include <evo/simplifiedmns.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/utils.h>
|
||||
|
||||
#include <base58.h>
|
||||
#include <chainparams.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <evo/mnauth.h>
|
||||
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/utils.h>
|
||||
#include <masternode/node.h>
|
||||
#include <masternode/meta.h>
|
||||
#include <masternode/sync.h>
|
||||
|
@ -5,8 +5,8 @@
|
||||
#include <evo/cbtx.h>
|
||||
#include <core_io.h>
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <evo/simplifiedmns.h>
|
||||
#include <evo/specialtx.h>
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <evo/specialtx.h>
|
||||
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
|
||||
bool CheckSpecialTx(const CTransaction& tx, const CBlockIndex* pindexPrev, CValidationState& state, const CCoinsViewCache& view)
|
||||
{
|
||||
|
@ -73,10 +73,10 @@
|
||||
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_init.h>
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/quorums_signing.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/init.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/signing.h>
|
||||
#include <llmq/utils.h>
|
||||
|
||||
#include <statsd_client.h>
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <init.h>
|
||||
#include <interfaces/handler.h>
|
||||
#include <interfaces/wallet.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <masternode/sync.h>
|
||||
#include <net.h>
|
||||
#include <net_processing.h>
|
||||
|
@ -2,9 +2,9 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_debug.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/debug.h>
|
||||
|
||||
#include <evo/evodb.h>
|
||||
#include <evo/specialtx.h>
|
@ -2,8 +2,8 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_BLOCKPROCESSOR_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_BLOCKPROCESSOR_H
|
||||
#ifndef BITCOIN_LLMQ_BLOCKPROCESSOR_H
|
||||
#define BITCOIN_LLMQ_BLOCKPROCESSOR_H
|
||||
|
||||
#include <unordered_lru_cache.h>
|
||||
|
||||
@ -75,4 +75,4 @@ extern CQuorumBlockProcessor* quorumBlockProcessor;
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_BLOCKPROCESSOR_H
|
||||
#endif // BITCOIN_LLMQ_BLOCKPROCESSOR_H
|
@ -2,10 +2,10 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <llmq/utils.h>
|
||||
|
||||
#include <chain.h>
|
||||
#include <consensus/validation.h>
|
@ -2,11 +2,11 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_CHAINLOCKS_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_CHAINLOCKS_H
|
||||
#ifndef BITCOIN_LLMQ_CHAINLOCKS_H
|
||||
#define BITCOIN_LLMQ_CHAINLOCKS_H
|
||||
|
||||
#include <bls/bls.h>
|
||||
#include <llmq/quorums_signing.h>
|
||||
#include <llmq/signing.h>
|
||||
|
||||
#include <chainparams.h>
|
||||
#include <net.h>
|
||||
@ -122,4 +122,4 @@ bool AreChainLocksEnabled();
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_CHAINLOCKS_H
|
||||
#endif // BITCOIN_LLMQ_CHAINLOCKS_H
|
@ -2,7 +2,7 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/commitment.h>
|
||||
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <evo/specialtx.h>
|
@ -2,10 +2,10 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_COMMITMENT_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_COMMITMENT_H
|
||||
#ifndef BITCOIN_LLMQ_COMMITMENT_H
|
||||
#define BITCOIN_LLMQ_COMMITMENT_H
|
||||
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/utils.h>
|
||||
#include <bls/bls.h>
|
||||
|
||||
#include <univalue.h>
|
||||
@ -135,4 +135,4 @@ bool CheckLLMQCommitment(const CTransaction& tx, const CBlockIndex* pindexPrev,
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_COMMITMENT_H
|
||||
#endif // BITCOIN_LLMQ_COMMITMENT_H
|
@ -2,14 +2,14 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums_debug.h>
|
||||
#include <llmq/debug.h>
|
||||
|
||||
#include <chainparams.h>
|
||||
#include <timedata.h>
|
||||
#include <validation.h>
|
||||
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/utils.h>
|
||||
|
||||
namespace llmq
|
||||
{
|
@ -2,8 +2,8 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_DEBUG_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_DEBUG_H
|
||||
#ifndef BITCOIN_LLMQ_DEBUG_H
|
||||
#define BITCOIN_LLMQ_DEBUG_H
|
||||
|
||||
#include <consensus/params.h>
|
||||
#include <sync.h>
|
||||
@ -108,4 +108,4 @@ extern CDKGDebugManager* quorumDKGDebugManager;
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_DEBUG_H
|
||||
#endif // BITCOIN_LLMQ_DEBUG_H
|
@ -2,11 +2,11 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums_dkgsession.h>
|
||||
#include <llmq/dkgsession.h>
|
||||
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_debug.h>
|
||||
#include <llmq/quorums_dkgsessionmgr.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/debug.h>
|
||||
#include <llmq/dkgsessionmgr.h>
|
||||
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <evo/specialtx.h>
|
@ -2,15 +2,15 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_DKGSESSION_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_DKGSESSION_H
|
||||
#ifndef BITCOIN_LLMQ_DKGSESSION_H
|
||||
#define BITCOIN_LLMQ_DKGSESSION_H
|
||||
|
||||
#include <batchedlogger.h>
|
||||
|
||||
#include <bls/bls_ies.h>
|
||||
#include <bls/bls_worker.h>
|
||||
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/utils.h>
|
||||
|
||||
class UniValue;
|
||||
|
||||
@ -338,4 +338,4 @@ void SetSimulatedDKGErrorRate(const std::string& type, double rate);
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_DKGSESSION_H
|
||||
#endif // BITCOIN_LLMQ_DKGSESSION_H
|
@ -2,13 +2,13 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums_dkgsessionhandler.h>
|
||||
#include <llmq/dkgsessionhandler.h>
|
||||
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_dkgsession.h>
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/quorums_debug.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/dkgsession.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/debug.h>
|
||||
#include <llmq/utils.h>
|
||||
|
||||
#include <evo/deterministicmns.h>
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_DKGSESSIONHANDLER_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_DKGSESSIONHANDLER_H
|
||||
#ifndef BITCOIN_LLMQ_DKGSESSIONHANDLER_H
|
||||
#define BITCOIN_LLMQ_DKGSESSIONHANDLER_H
|
||||
|
||||
|
||||
#include <ctpl_stl.h>
|
||||
@ -150,4 +150,4 @@ private:
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_DKGSESSIONHANDLER_H
|
||||
#endif // BITCOIN_LLMQ_DKGSESSIONHANDLER_H
|
@ -2,9 +2,9 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums_dkgsessionmgr.h>
|
||||
#include <llmq/quorums_debug.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/dkgsessionmgr.h>
|
||||
#include <llmq/debug.h>
|
||||
#include <llmq/utils.h>
|
||||
|
||||
#include <evo/deterministicmns.h>
|
||||
|
@ -2,11 +2,11 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_DKGSESSIONMGR_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_DKGSESSIONMGR_H
|
||||
#ifndef BITCOIN_LLMQ_DKGSESSIONMGR_H
|
||||
#define BITCOIN_LLMQ_DKGSESSIONMGR_H
|
||||
|
||||
#include <llmq/quorums_dkgsessionhandler.h>
|
||||
#include <llmq/quorums_dkgsession.h>
|
||||
#include <llmq/dkgsessionhandler.h>
|
||||
#include <llmq/dkgsession.h>
|
||||
#include <bls/bls.h>
|
||||
#include <bls/bls_worker.h>
|
||||
|
||||
@ -81,4 +81,4 @@ extern CDKGSessionManager* quorumDKGSessionManager;
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_DKGSESSIONMGR_H
|
||||
#endif // BITCOIN_LLMQ_DKGSESSIONMGR_H
|
@ -2,18 +2,18 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums_init.h>
|
||||
#include <llmq/init.h>
|
||||
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/quorums_debug.h>
|
||||
#include <llmq/quorums_dkgsessionmgr.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/quorums_signing.h>
|
||||
#include <llmq/quorums_signing_shares.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/debug.h>
|
||||
#include <llmq/dkgsessionmgr.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <llmq/signing.h>
|
||||
#include <llmq/signing_shares.h>
|
||||
#include <llmq/utils.h>
|
||||
#include <consensus/validation.h>
|
||||
|
||||
#include <dbwrapper.h>
|
@ -2,8 +2,8 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_INIT_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_INIT_H
|
||||
#ifndef BITCOIN_LLMQ_INIT_H
|
||||
#define BITCOIN_LLMQ_INIT_H
|
||||
|
||||
class CDBWrapper;
|
||||
class CEvoDB;
|
||||
@ -21,4 +21,4 @@ void StopLLMQSystem();
|
||||
void InterruptLLMQSystem();
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_INIT_H
|
||||
#endif // BITCOIN_LLMQ_INIT_H
|
@ -2,11 +2,11 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <llmq/utils.h>
|
||||
#include <llmq/commitment.h>
|
||||
|
||||
#include <bls/bls_batchverifier.h>
|
||||
#include <chainparams.h>
|
@ -2,10 +2,10 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_INSTANTSEND_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_INSTANTSEND_H
|
||||
#ifndef BITCOIN_LLMQ_INSTANTSEND_H
|
||||
#define BITCOIN_LLMQ_INSTANTSEND_H
|
||||
|
||||
#include <llmq/quorums_signing.h>
|
||||
#include <llmq/signing.h>
|
||||
#include <unordered_lru_cache.h>
|
||||
|
||||
#include <chain.h>
|
||||
@ -286,4 +286,4 @@ bool RejectConflictingBlocks();
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_INSTANTSEND_H
|
||||
#endif // BITCOIN_LLMQ_INSTANTSEND_H
|
@ -3,11 +3,11 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/quorums_dkgsession.h>
|
||||
#include <llmq/quorums_dkgsessionmgr.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/dkgsession.h>
|
||||
#include <llmq/dkgsessionmgr.h>
|
||||
#include <llmq/utils.h>
|
||||
|
||||
#include <evo/specialtx.h>
|
||||
#include <evo/deterministicmns.h>
|
||||
|
@ -3,10 +3,10 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_signing.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/quorums_signing_shares.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/signing.h>
|
||||
#include <llmq/utils.h>
|
||||
#include <llmq/signing_shares.h>
|
||||
|
||||
#include <masternode/node.h>
|
||||
#include <bls/bls_batchverifier.h>
|
@ -2,8 +2,8 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_SIGNING_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_SIGNING_H
|
||||
#ifndef BITCOIN_LLMQ_SIGNING_H
|
||||
#define BITCOIN_LLMQ_SIGNING_H
|
||||
|
||||
#include <bls/bls.h>
|
||||
#include <unordered_lru_cache.h>
|
||||
@ -190,4 +190,4 @@ extern CSigningManager* quorumSigningManager;
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_SIGNING_H
|
||||
#endif // BITCOIN_LLMQ_SIGNING_H
|
@ -3,10 +3,10 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_signing.h>
|
||||
#include <llmq/quorums_signing_shares.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/signing.h>
|
||||
#include <llmq/signing_shares.h>
|
||||
#include <llmq/utils.h>
|
||||
|
||||
|
||||
#include <evo/deterministicmns.h>
|
@ -2,8 +2,8 @@
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_SIGNING_SHARES_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_SIGNING_SHARES_H
|
||||
#ifndef BITCOIN_LLMQ_SIGNING_SHARES_H
|
||||
#define BITCOIN_LLMQ_SIGNING_SHARES_H
|
||||
|
||||
#include <chainparams.h>
|
||||
#include <net.h>
|
||||
@ -431,4 +431,4 @@ extern CSigSharesManager* quorumSigSharesManager;
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_SIGNING_SHARES_H
|
||||
#endif // BITCOIN_LLMQ_SIGNING_SHARES_H
|
@ -3,8 +3,8 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/utils.h>
|
||||
|
||||
#include <bls/bls.h>
|
||||
#include <evo/deterministicmns.h>
|
@ -2,8 +2,8 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_LLMQ_QUORUMS_UTILS_H
|
||||
#define BITCOIN_LLMQ_QUORUMS_UTILS_H
|
||||
#ifndef BITCOIN_LLMQ_UTILS_H
|
||||
#define BITCOIN_LLMQ_UTILS_H
|
||||
|
||||
#include <consensus/params.h>
|
||||
|
||||
@ -126,4 +126,4 @@ const Consensus::LLMQParams& GetLLMQParams(const Consensus::LLMQType llmqType);
|
||||
|
||||
} // namespace llmq
|
||||
|
||||
#endif // BITCOIN_LLMQ_QUORUMS_UTILS_H
|
||||
#endif // BITCOIN_LLMQ_UTILS_H
|
@ -31,9 +31,9 @@
|
||||
#include <evo/cbtx.h>
|
||||
#include <evo/simplifiedmns.h>
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/quorums_utils.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/utils.h>
|
||||
#include <masternode/payments.h>
|
||||
#include <masternode/sync.h>
|
||||
|
||||
|
@ -52,13 +52,13 @@
|
||||
#include <evo/mnauth.h>
|
||||
#include <evo/simplifiedmns.h>
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/quorums_dkgsessionmgr.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/quorums_signing.h>
|
||||
#include <llmq/quorums_signing_shares.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/dkgsessionmgr.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <llmq/signing.h>
|
||||
#include <llmq/signing_shares.h>
|
||||
|
||||
#include <statsd_client.h>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include <univalue.h>
|
||||
#include <util/system.h>
|
||||
|
||||
#include <llmq/quorums_init.h>
|
||||
#include <llmq/init.h>
|
||||
|
||||
#include <QDir>
|
||||
#include <QtGlobal>
|
||||
|
@ -41,8 +41,8 @@
|
||||
#include <evo/specialtx.h>
|
||||
#include <evo/cbtx.h>
|
||||
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/instantsend.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
|
@ -37,9 +37,9 @@
|
||||
#include <evo/providertx.h>
|
||||
#include <evo/cbtx.h>
|
||||
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/instantsend.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -11,12 +11,12 @@
|
||||
#include <evo/deterministicmns.h>
|
||||
|
||||
#include <llmq/quorums.h>
|
||||
#include <llmq/quorums_commitment.h>
|
||||
#include <llmq/quorums_blockprocessor.h>
|
||||
#include <llmq/quorums_debug.h>
|
||||
#include <llmq/quorums_dkgsession.h>
|
||||
#include <llmq/quorums_signing.h>
|
||||
#include <llmq/quorums_signing_shares.h>
|
||||
#include <llmq/commitment.h>
|
||||
#include <llmq/blockprocessor.h>
|
||||
#include <llmq/debug.h>
|
||||
#include <llmq/dkgsession.h>
|
||||
#include <llmq/signing.h>
|
||||
#include <llmq/signing_shares.h>
|
||||
|
||||
namespace llmq {
|
||||
extern const std::string CLSIG_REQUESTID_PREFIX;
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <evo/specialtx.h>
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <evo/cbtx.h>
|
||||
#include <llmq/quorums_init.h>
|
||||
#include <llmq/init.h>
|
||||
|
||||
const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <evo/specialtx.h>
|
||||
#include <evo/providertx.h>
|
||||
#include <evo/deterministicmns.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/instantsend.h>
|
||||
|
||||
CTxMemPoolEntry::CTxMemPoolEntry(const CTransactionRef& _tx, const CAmount& _nFee,
|
||||
int64_t _nTime, unsigned int _entryHeight,
|
||||
|
@ -50,8 +50,8 @@
|
||||
#include <evo/specialtx.h>
|
||||
#include <evo/deterministicmns.h>
|
||||
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
|
||||
#include <statsd_client.h>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <util/system.h>
|
||||
#include <util/moneystr.h>
|
||||
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <coinjoin/coinjoin.h>
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
@ -36,8 +36,8 @@
|
||||
|
||||
#include <coinjoin/client.h>
|
||||
#include <coinjoin/options.h>
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/instantsend.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -40,8 +40,8 @@
|
||||
|
||||
#include <evo/providertx.h>
|
||||
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <future>
|
||||
|
@ -15,9 +15,9 @@
|
||||
#include <governance/object.h>
|
||||
#include <governance/vote.h>
|
||||
|
||||
#include <llmq/quorums_chainlocks.h>
|
||||
#include <llmq/quorums_instantsend.h>
|
||||
#include <llmq/quorums_signing.h>
|
||||
#include <llmq/chainlocks.h>
|
||||
#include <llmq/instantsend.h>
|
||||
#include <llmq/signing.h>
|
||||
|
||||
#include <zmq.h>
|
||||
|
||||
|
@ -42,12 +42,12 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
|
||||
"evo/deterministicmns -> evo/providertx -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> evo/specialtx -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> llmq/quorums_commitment -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> llmq/quorums_utils -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> llmq/commitment -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> llmq/utils -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> validation -> evo/deterministicmns"
|
||||
"evo/mnauth -> net_processing -> evo/mnauth"
|
||||
"evo/specialtx -> llmq/quorums_blockprocessor -> evo/specialtx"
|
||||
"evo/specialtx -> llmq/quorums_commitment -> evo/specialtx"
|
||||
"evo/specialtx -> llmq/blockprocessor -> evo/specialtx"
|
||||
"evo/specialtx -> llmq/commitment -> evo/specialtx"
|
||||
"evo/specialtx -> validation -> evo/specialtx"
|
||||
"governance/classes -> governance/governance -> governance/classes"
|
||||
"governance/classes -> governance/governance -> net_processing -> masternode/payments -> governance/classes"
|
||||
@ -55,17 +55,17 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
|
||||
"governance/governance -> masternode/sync -> governance/governance"
|
||||
"governance/governance -> net_processing -> governance/governance"
|
||||
"governance/object -> governance/validators -> governance/object"
|
||||
"llmq/quorums -> llmq/quorums_utils -> llmq/quorums"
|
||||
"llmq/quorums_blockprocessor -> net_processing -> llmq/quorums_blockprocessor"
|
||||
"llmq/quorums_chainlocks -> llmq/quorums_instantsend -> llmq/quorums_chainlocks"
|
||||
"llmq/quorums_chainlocks -> net_processing -> llmq/quorums_chainlocks"
|
||||
"llmq/quorums_dkgsessionmgr -> net_processing -> llmq/quorums_dkgsessionmgr"
|
||||
"llmq/quorums_instantsend -> net_processing -> llmq/quorums_instantsend"
|
||||
"llmq/quorums_instantsend -> txmempool -> llmq/quorums_instantsend"
|
||||
"llmq/quorums_instantsend -> validation -> llmq/quorums_instantsend"
|
||||
"llmq/quorums_signing -> llmq/quorums_signing_shares -> llmq/quorums_signing"
|
||||
"llmq/quorums_signing -> net_processing -> llmq/quorums_signing"
|
||||
"llmq/quorums_signing_shares -> net_processing -> llmq/quorums_signing_shares"
|
||||
"llmq/quorums -> llmq/utils -> llmq/quorums"
|
||||
"llmq/blockprocessor -> net_processing -> llmq/blockprocessor"
|
||||
"llmq/chainlocks -> llmq/instantsend -> llmq/chainlocks"
|
||||
"llmq/chainlocks -> net_processing -> llmq/chainlocks"
|
||||
"llmq/dkgsessionmgr -> net_processing -> llmq/dkgsessionmgr"
|
||||
"llmq/instantsend -> net_processing -> llmq/instantsend"
|
||||
"llmq/instantsend -> txmempool -> llmq/instantsend"
|
||||
"llmq/instantsend -> validation -> llmq/instantsend"
|
||||
"llmq/signing -> llmq/signing_shares -> llmq/signing"
|
||||
"llmq/signing -> net_processing -> llmq/signing"
|
||||
"llmq/signing_shares -> net_processing -> llmq/signing_shares"
|
||||
"logging -> util/system -> logging"
|
||||
"masternode/payments -> validation -> masternode/payments"
|
||||
"net -> netmessagemaker -> net"
|
||||
@ -78,8 +78,8 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
|
||||
"qt/guiutil -> qt/qvalidatedlineedit -> qt/guiutil"
|
||||
"core_io -> evo/cbtx -> evo/deterministicmns -> core_io"
|
||||
"core_io -> evo/cbtx -> evo/simplifiedmns -> core_io"
|
||||
"evo/simplifiedmns -> llmq/quorums_blockprocessor -> net_processing -> evo/simplifiedmns"
|
||||
"llmq/quorums_dkgsession -> llmq/quorums_dkgsessionmgr -> llmq/quorums_dkgsessionhandler -> llmq/quorums_dkgsession"
|
||||
"evo/simplifiedmns -> llmq/blockprocessor -> net_processing -> evo/simplifiedmns"
|
||||
"llmq/dkgsession -> llmq/dkgsessionmgr -> llmq/dkgsessionhandler -> llmq/dkgsession"
|
||||
"logging -> util/system -> random -> logging"
|
||||
"logging -> util/system -> sync -> logging"
|
||||
"logging -> util/system -> stacktraces -> logging"
|
||||
@ -88,25 +88,24 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
|
||||
"qt/bitcoinaddressvalidator -> qt/guiutil -> qt/qvalidatedlineedit -> qt/bitcoinaddressvalidator"
|
||||
"qt/guiutil -> qt/optionsdialog -> qt/optionsmodel -> qt/guiutil"
|
||||
"bloom -> evo/cbtx -> evo/simplifiedmns -> merkleblock -> bloom"
|
||||
"bloom -> evo/cbtx -> llmq/quorums_blockprocessor -> net -> bloom"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/quorums_blockprocessor -> llmq/quorums_debug -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/quorums_blockprocessor -> net_processing -> evo/deterministicmns"
|
||||
"evo/specialtx -> llmq/quorums_blockprocessor -> net_processing -> txmempool -> evo/specialtx"
|
||||
"evo/providertx -> evo/specialtx -> llmq/quorums_blockprocessor -> net_processing -> txmempool -> evo/providertx"
|
||||
"bloom -> evo/cbtx -> llmq/blockprocessor -> net -> bloom"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/blockprocessor -> llmq/debug -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/blockprocessor -> net_processing -> evo/deterministicmns"
|
||||
"evo/specialtx -> llmq/blockprocessor -> net_processing -> txmempool -> evo/specialtx"
|
||||
"evo/providertx -> evo/specialtx -> llmq/blockprocessor -> net_processing -> txmempool -> evo/providertx"
|
||||
|
||||
"coinjoin/client -> net_processing -> coinjoin/client"
|
||||
"llmq/quorums -> net_processing -> llmq/quorums"
|
||||
"llmq/quorums_commitment -> llmq/quorums_utils -> llmq/quorums_commitment"
|
||||
"llmq/quorums_dkgsession -> llmq/quorums_dkgsessionmgr -> llmq/quorums_dkgsession"
|
||||
"llmq/commitment -> llmq/utils -> llmq/commitment"
|
||||
"llmq/dkgsession -> llmq/dkgsessionmgr -> llmq/dkgsession"
|
||||
"evo/deterministicmns -> validationinterface -> txmempool -> evo/deterministicmns"
|
||||
"llmq/quorums -> validation -> llmq/quorums_chainlocks -> llmq/quorums"
|
||||
"llmq/quorums_chainlocks -> llmq/quorums_instantsend -> validation -> llmq/quorums_chainlocks"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/quorums_blockprocessor -> net_processing -> masternode/payments -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/quorums_blockprocessor -> net_processing -> masternode/payments -> masternode/node -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/quorums_blockprocessor -> net -> masternode/sync -> evo/deterministicmns"
|
||||
"llmq/chainlocks -> llmq/instantsend -> validation -> llmq/chainlocks"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/blockprocessor -> net_processing -> masternode/payments -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/blockprocessor -> net_processing -> masternode/payments -> masternode/node -> evo/deterministicmns"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/blockprocessor -> net -> masternode/sync -> evo/deterministicmns"
|
||||
"governance/governance -> net_processing -> masternode/payments -> governance/governance"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/quorums_blockprocessor -> net -> evo/deterministicmns"
|
||||
"coinjoin/coinjoin -> llmq/quorums_chainlocks -> net -> coinjoin/coinjoin"
|
||||
"evo/deterministicmns -> evo/simplifiedmns -> llmq/blockprocessor -> net -> evo/deterministicmns"
|
||||
"coinjoin/coinjoin -> llmq/chainlocks -> net -> coinjoin/coinjoin"
|
||||
)
|
||||
|
||||
EXIT_CODE=0
|
||||
|
@ -36,7 +36,7 @@ ENABLED_CHECKS=(
|
||||
|
||||
IGNORED_WARNINGS=(
|
||||
"src/bls/bls.h:.* Struct 'CBLSIdImplicit' has a constructor with 1 argument that is not explicit."
|
||||
"src/llmq/quorums_init.cpp:.* warning: Variable 'llmqDbTmp' is assigned a value that is never used."
|
||||
"src/llmq/init.cpp:.* warning: Variable 'llmqDbTmp' is assigned a value that is never used."
|
||||
"src/llmq/quorums.cpp:.* warning: Parameter '_blsWorker' can be declared with const"
|
||||
|
||||
# General catchall, for some reason any value named 'hash' is viewed as never used.
|
||||
|
Loading…
Reference in New Issue
Block a user