Skip to content

revert: add llmq_single_node quorum type (111) - #30

Merged
lklimek merged 2 commits into
masterfrom
revert-24-feat/llmq-111
Feb 10, 2026
Merged

lklimek merged 2 commits into
masterfrom
revert-24-feat/llmq-111

Conversation

@lklimek

@lklimek lklimek commented Apr 7, 2025 •

Copy link
Copy Markdown

As we decided to not create quorum type 111, we revert the PR.

Reverts #24

Summary by CodeRabbit

  • Chores
    • Removed support for SINGLE_NODE quorum type validation and configuration.

Copilot AI review requested due to automatic review settings April 7, 2025 06:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

@shumkov shumkov changed the title Revert "feat: add llmq_single_node quorum type (111)" revert: add llmq_single_node quorum type (111) Apr 7, 2025

@shumkov shumkov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

👍

@lklimek
lklimek merged commit 222d5cc into master Feb 10, 2026
3 checks passed
@lklimek
lklimek deleted the revert-24-feat/llmq-111 branch February 10, 2026 10:53
@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 21861954263

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage remained the same at 48.944%

Files with Coverage Reduction New Missed Lines %
database/ffldb/blockio.go 4 92.62%
Totals Coverage Status
Change from base Build 12882192498: 0.0%
Covered Lines: 23635
Relevant Lines: 48290

💛 - Coveralls

@coderabbitai

coderabbitai Bot commented Feb 10, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

These changes eliminate support for the SINGLE_NODE LLMQ quorum type by removing its constant definition, lookup entry, and validation logic across production code and corresponding test cases.

Changes

Cohort / File(s) Summary
LLMQ SINGLE_NODE Type Removal
btcjson/dashevocmds.go
Removed exported constant LLMQType_SINGLE_NODE, removed its entry from the llmqTypes lookup map, and updated the Validate() method to no longer accept this type as valid.
Corresponding Test Cleanup
btcjson/dashevocmds_test.go
Removed three test cases (110, 111, 112) from TestLLMQTypeValidate that validated the SINGLE_NODE quorum type.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A quorum type bid farewell today,
Single node has gone away,
Constants cleared and tests refined,
LLMQ types realigned! ✨

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch revert-24-feat/llmq-111

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

4 participants