Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump "keepOldConnections" by one for all LLMQ types #2909

Merged
merged 1 commit into from
May 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ static Consensus::LLMQParams llmq5_60 = {

.signingActiveQuorumCount = 2, // just a few ones to allow easier testing

.keepOldConnections = 24,
.keepOldConnections = 3,
};

static Consensus::LLMQParams llmq50_60 = {
Expand All @@ -140,7 +140,7 @@ static Consensus::LLMQParams llmq50_60 = {

.signingActiveQuorumCount = 24, // a full day worth of LLMQs

.keepOldConnections = 24,
.keepOldConnections = 25,
};

static Consensus::LLMQParams llmq400_60 = {
Expand All @@ -158,7 +158,7 @@ static Consensus::LLMQParams llmq400_60 = {

.signingActiveQuorumCount = 4, // two days worth of LLMQs

.keepOldConnections = 4,
.keepOldConnections = 5,
};

// Used for deployment and min-proto-version signalling, so it needs a higher threshold
Expand All @@ -177,7 +177,7 @@ static Consensus::LLMQParams llmq400_85 = {

.signingActiveQuorumCount = 4, // two days worth of LLMQs

.keepOldConnections = 4,
.keepOldConnections = 5,
};


Expand Down
2 changes: 1 addition & 1 deletion src/consensus/params.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ struct LLMQParams {
int signingActiveQuorumCount;

// Used for inter-quorum communication. This is the number of quorums for which we should keep old connections. This
// should be at least as much as the active quorums set.
// should be at least one more then the active quorums set.
int keepOldConnections;
};

Expand Down