From 42e65f45410480f88f9d08ad1527039f5b21aa47 Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Tue, 5 Dec 2023 16:02:11 +0700 Subject: [PATCH] chore: remaining TODO goes to other PRs --- src/llmq/utils.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/llmq/utils.h b/src/llmq/utils.h index 9f2e8bd229..a19e1981d7 100644 --- a/src/llmq/utils.h +++ b/src/llmq/utils.h @@ -47,9 +47,7 @@ uint256 GetHashModifier(const Consensus::LLMQParams& llmqParams, gsl::not_null& validMembers, const CBLSPublicKey& pubKey, const uint256& vvecHash); uint256 BuildSignHash(Consensus::LLMQType llmqType, const uint256& quorumHash, const uint256& id, const uint256& msgHash); -// TODO options bool IsAllMembersConnectedEnabled(Consensus::LLMQType llmqType); -// TODO options bool IsQuorumPoseEnabled(Consensus::LLMQType llmqType); uint256 DeterministicOutboundConnection(const uint256& proTxHash1, const uint256& proTxHash2); std::set GetQuorumConnections(const Consensus::LLMQParams& llmqParams, gsl::not_null pQuorumBaseBlockIndex, const uint256& forMember, bool onlyOutbound); @@ -60,24 +58,17 @@ bool EnsureQuorumConnections(const Consensus::LLMQParams& llmqParams, gsl::not_n void AddQuorumProbeConnections(const Consensus::LLMQParams& llmqParams, gsl::not_null pQuorumBaseBlockIndex, CConnman& connman, const uint256& myProTxHash); bool IsQuorumActive(Consensus::LLMQType llmqType, const CQuorumManager& qman, const uint256& quorumHash); -// TODO options maybe not bool IsQuorumTypeEnabled(Consensus::LLMQType llmqType, const CQuorumManager& qman, gsl::not_null pindexPrev); -// TODO options maybe not bool IsQuorumTypeEnabledInternal(Consensus::LLMQType llmqType, const CQuorumManager& qman, gsl::not_null pindexPrev, std::optional optDIP0024IsActive, std::optional optHaveDIP0024Quorums); -// TODO options maybe not std::vector GetEnabledQuorumTypes(gsl::not_null pindex); -// TODO options maybe not std::vector> GetEnabledQuorumParams(gsl::not_null pindex); -// TODO options bool IsQuorumRotationEnabled(const Consensus::LLMQParams& llmqParams, gsl::not_null pindex); /// Returns the state of `-llmq-data-recovery` -// TODO options bool QuorumDataRecoveryEnabled(); -// TODO options /// Returns the state of `-watchquorums` bool IsWatchQuorumsEnabled();