mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
style: run clang-format
This commit is contained in:
parent
567d629e42
commit
859b9ad28f
@ -114,17 +114,13 @@ struct LLMQParams {
|
||||
// How many members should we try to send all sigShares to before we give up.
|
||||
int recoveryMembers;
|
||||
public:
|
||||
|
||||
[[nodiscard]] constexpr int max_cycles(int quorums_count) const
|
||||
{
|
||||
return useRotation ? quorums_count / signingActiveQuorumCount : quorums_count;
|
||||
}
|
||||
|
||||
// For how many blocks recent DKG info should be kept
|
||||
[[nodiscard]] constexpr int max_store_depth() const
|
||||
{
|
||||
return max_cycles(keepOldKeys) * dkgInterval;
|
||||
}
|
||||
[[nodiscard]] constexpr int max_store_depth() const { return max_cycles(keepOldKeys) * dkgInterval; }
|
||||
};
|
||||
|
||||
//static_assert(std::is_trivial_v<Consensus::LLMQParams>, "LLMQParams is not a trivial type");
|
||||
|
Loading…
Reference in New Issue
Block a user