Skip to content

chore: document MinerConfig parameters #6019

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

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

Jiloc
Copy link
Contributor

@Jiloc Jiloc commented Apr 16, 2025

Description

Add documentation for all MinerConfig parameters

Applicable issues

Additional info (benefits, drawbacks, caveats)

Checklist

  • Test coverage for new or modified code paths
  • Changelog is updated
  • Required documentation changes (e.g., docs/rpc/openapi.yaml and rpc-endpoints.md for v2 endpoints, event-dispatcher.md for new events)
  • New clarity functions have corresponding PR in clarity-benchmarking repo
  • New integration test(s) added to bitcoin-tests.yml

@Jiloc Jiloc requested a review from a team as a code owner April 16, 2025 16:59
@Jiloc Jiloc requested review from obycode and wileyj April 16, 2025 17:00
@Jiloc Jiloc self-assigned this Apr 16, 2025
@Jiloc Jiloc moved this to Status: In Review in Stacks Core Eng Apr 16, 2025
@aldur aldur modified the milestones: 3.1.0.0.9, 3.1.0.0.10 May 2, 2025
@aldur aldur requested a review from wileyj May 6, 2025 14:50
/// preventing potential starvation. A value of 0 means never prioritize them first,
/// 100 means always prioritize them first (if available).
///
/// Default: 25 (25% chance)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
/// Default: 25 (25% chance)
/// Default: `25` (25% chance)

added backticks to the value to match other comments

Copy link
Collaborator

Choose a reason for hiding this comment

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

one small change - otherwise lgtm!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added (to this and a couple of other parameters I missed) in 9bb8633

@Jiloc Jiloc requested a review from a team as a code owner May 12, 2025 14:54
/// the mempool walk for block building. If this list is non-empty, any transaction whose
/// origin address is *not* in this set will be skipped.
///
/// This allows miners (particularly "boosted" or "neutral" miners) to prioritize transactions
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's remove this language about "boosted" or "neutral".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed in c185015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Status: In Review
Development

Successfully merging this pull request may close these issues.

4 participants