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

Mining Rule Engine: Blue Only Mergeset Rule #656

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

coderofstuff
Copy link
Collaborator

@coderofstuff coderofstuff commented Mar 20, 2025

Splitting off #634 into parts. This is Part 3/3. Depends on #655

Blue-Only Mergeset Rule

Goal:
Reduce the built_block_template time by excluding red blocks from the mergeset.

Rule:
Exclude any red blocks from the mergeset. All reds are treated as "bad reds".

Metric:

Field Tracking
build_block_template_within_threshold Increment if BBT from virtual completed within 100ms
build_block_template_above_threshold Increment if BBT from virtual completion took longer than 100ms

Trigger:

  • there were BBT calls that took longer than the threshold AND
  • no BBT call completed within the threshold

Recovery:

  • a BBT call completed within 100ms AND
  • a merge bound amount of blocks has passed since the trigger

@coderofstuff coderofstuff mentioned this pull request Mar 20, 2025
@coderofstuff coderofstuff force-pushed the blue-only-mergeset-rule branch from 3f015fa to 9df4735 Compare March 23, 2025 19:34
@coderofstuff coderofstuff force-pushed the blue-only-mergeset-rule branch from 9df4735 to aa6e1ce Compare March 24, 2025 16:07
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.

1 participant