mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Fix LLMQ dkgBadVotesThreshold parameter in regtest and devnet
This commit is contained in:
parent
d3586e1df0
commit
3e3eba63e2
@ -122,6 +122,7 @@ void CChainParams::UpdateLLMQTestParams(int size, int threshold) {
|
||||
params.size = size;
|
||||
params.minSize = threshold;
|
||||
params.threshold = threshold;
|
||||
params.dkgBadVotesThreshold = threshold;
|
||||
}
|
||||
|
||||
void CChainParams::UpdateLLMQDevnetParams(int size, int threshold)
|
||||
@ -130,6 +131,7 @@ void CChainParams::UpdateLLMQDevnetParams(int size, int threshold)
|
||||
params.size = size;
|
||||
params.minSize = threshold;
|
||||
params.threshold = threshold;
|
||||
params.dkgBadVotesThreshold = threshold;
|
||||
}
|
||||
|
||||
static CBlock FindDevNetGenesisBlock(const Consensus::Params& params, const CBlock &prevBlock, const CAmount& reward)
|
||||
@ -168,7 +170,7 @@ static Consensus::LLMQParams llmq_test = {
|
||||
.dkgPhaseBlocks = 2,
|
||||
.dkgMiningWindowStart = 10, // dkgPhaseBlocks * 5 = after finalization
|
||||
.dkgMiningWindowEnd = 18,
|
||||
.dkgBadVotesThreshold = 8,
|
||||
.dkgBadVotesThreshold = 2,
|
||||
|
||||
.signingActiveQuorumCount = 2, // just a few ones to allow easier testing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user