-
Notifications
You must be signed in to change notification settings - Fork 696
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
base: develop
Are you sure you want to change the base?
Conversation
stackslib/src/config/mod.rs
Outdated
/// preventing potential starvation. A value of 0 means never prioritize them first, | ||
/// 100 means always prioritize them first (if available). | ||
/// | ||
/// Default: 25 (25% chance) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Default: 25 (25% chance) | |
/// Default: `25` (25% chance) |
added backticks to the value to match other comments
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
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
stackslib/src/config/mod.rs
Outdated
/// 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 |
There was a problem hiding this comment.
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".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed in c185015
Description
Add documentation for all
MinerConfig
parametersApplicable issues
Additional info (benefits, drawbacks, caveats)
Checklist
docs/rpc/openapi.yaml
andrpc-endpoints.md
for v2 endpoints,event-dispatcher.md
for new events)clarity-benchmarking
repobitcoin-tests.yml