mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
chore: remaining TODO goes to other PRs
This commit is contained in:
parent
c3c9ccf261
commit
42e65f4541
@ -47,9 +47,7 @@ uint256 GetHashModifier(const Consensus::LLMQParams& llmqParams, gsl::not_null<c
|
||||
uint256 BuildCommitmentHash(Consensus::LLMQType llmqType, const uint256& blockHash, const std::vector<bool>& 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<uint256> GetQuorumConnections(const Consensus::LLMQParams& llmqParams, gsl::not_null<const CBlockIndex*> 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<const CBlockIndex*> 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<const CBlockIndex*> pindexPrev);
|
||||
// TODO options maybe not
|
||||
bool IsQuorumTypeEnabledInternal(Consensus::LLMQType llmqType, const CQuorumManager& qman, gsl::not_null<const CBlockIndex*> pindexPrev, std::optional<bool> optDIP0024IsActive, std::optional<bool> optHaveDIP0024Quorums);
|
||||
|
||||
// TODO options maybe not
|
||||
std::vector<Consensus::LLMQType> GetEnabledQuorumTypes(gsl::not_null<const CBlockIndex*> pindex);
|
||||
// TODO options maybe not
|
||||
std::vector<std::reference_wrapper<const Consensus::LLMQParams>> GetEnabledQuorumParams(gsl::not_null<const CBlockIndex*> pindex);
|
||||
|
||||
// TODO options
|
||||
bool IsQuorumRotationEnabled(const Consensus::LLMQParams& llmqParams, gsl::not_null<const CBlockIndex*> pindex);
|
||||
|
||||
/// Returns the state of `-llmq-data-recovery`
|
||||
// TODO options
|
||||
bool QuorumDataRecoveryEnabled();
|
||||
|
||||
// TODO options
|
||||
/// Returns the state of `-watchquorums`
|
||||
bool IsWatchQuorumsEnabled();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user