Skip to content

fix!: llmqTypeInstantSend deactivation prevention if used for other purposes#4848

Merged
UdjinM6 merged 1 commit into
dashpay:developfrom
ogabrielides:llmq_type_deactivation_fix
May 26, 2022
Merged

fix!: llmqTypeInstantSend deactivation prevention if used for other purposes#4848
UdjinM6 merged 1 commit into
dashpay:developfrom
ogabrielides:llmq_type_deactivation_fix

Conversation

@ogabrielides
Copy link
Copy Markdown

Protection for devnets and testnet since default chain parameters:

Devnet chain params:

consensus.llmqTypeChainLocks = Consensus::LLMQType::LLMQ_50_60;
consensus.llmqTypeInstantSend = Consensus::LLMQType::LLMQ_50_60;
consensus.llmqTypeDIP0024InstantSend = Consensus::LLMQType::LLMQ_60_75;
consensus.llmqTypePlatform = Consensus::LLMQType::LLMQ_100_67;
consensus.llmqTypeMnhf = Consensus::LLMQType::LLMQ_50_60;

Testnet chain params:

consensus.llmqTypeChainLocks = Consensus::LLMQType::LLMQ_50_60;
consensus.llmqTypeInstantSend = Consensus::LLMQType::LLMQ_50_60;
consensus.llmqTypeDIP0024InstantSend = Consensus::LLMQType::LLMQ_60_75;
consensus.llmqTypePlatform = Consensus::LLMQType::LLMQ_100_67;
consensus.llmqTypeMnhf = Consensus::LLMQType::LLMQ_50_60;

We must not disable llmqTypeInstantSend once DIP24 is active (and has quorums formed) when it is shared for other purposes.

Note: This problem does not affect mainet.
Mainent chain params:

consensus.llmqTypeChainLocks = Consensus::LLMQType::LLMQ_400_60;
consensus.llmqTypeInstantSend = Consensus::LLMQType::LLMQ_50_60;
consensus.llmqTypeDIP0024InstantSend = Consensus::LLMQType::LLMQ_60_75;
consensus.llmqTypePlatform = Consensus::LLMQType::LLMQ_100_67;
consensus.llmqTypeMnhf = Consensus::LLMQType::LLMQ_400_85;

Copy link
Copy Markdown
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, utACK for squash merge

@ogabrielides
Copy link
Copy Markdown
Author

@PastaPastaPasta Need to merge this to v18 branch

Copy link
Copy Markdown

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! 👍

utACK

@ogabrielides
Copy link
Copy Markdown
Author

ogabrielides commented May 26, 2022

@PastaPastaPasta @UdjinM6 You both approved but you did not merge. (I don't have access to merge)

@UdjinM6 UdjinM6 merged commit acb1dd6 into dashpay:develop May 26, 2022
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request May 29, 2022
@ogabrielides ogabrielides deleted the llmq_type_deactivation_fix branch May 31, 2022 14:36
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Nov 16, 2023
gades pushed a commit to piratecash/pirate that referenced this pull request Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants