-
Notifications
You must be signed in to change notification settings - Fork 123
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
add(mining): Restore internal miner #9311
base: update-ecc-deps
Are you sure you want to change the base?
Conversation
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.
Should we go with a newer config version instead of zebrad/tests/common/configs/v1.9.0-internal-miner.toml
?
// If we got any solutions, try submitting them, because the new template might just | ||
// contain some extra transactions. Mining extra transactions is optional. |
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.
Is this comment related to the code?
// If we got any solutions, try submitting them, because the new template might just | |
// contain some extra transactions. Mining extra transactions is optional. |
// Restore the code when conditions are met. https://github.com/ZcashFoundation/zebra/issues/8183 | ||
/// Returns `true` if the `nonce` and `solution` in `header` meet the difficulty threshold. | ||
/// | ||
/// Assumes that the difficulty threshold in the header is valid. |
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.
/// Assumes that the difficulty threshold in the header is valid. | |
/// # Panics | |
/// | |
/// - If `header` contains an invalid difficulty threshold. |
@mergify requeue |
❌ This pull request head commit has not been previously disembarked from queue. |
@mergify refresh |
✅ Pull request refreshed |
@mergify rebase |
✅ Nothing to do for rebase action |
@arya2 you'll have to rebase this one manually |
Motivation
We want to restore the experimental internal Testnet miner to run a Zebra-only Testnet with a published release.
Refresh of #8906.
Closes #8183.
Solution
Tests
Manually tested and experimental
Follow-up Work
PR Checklist
C-exclude-from-changelog
label.