-
Notifications
You must be signed in to change notification settings - Fork 107
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 a manually-triggered workflow for mining a block on testnet #6025
Comments
This should probably be the last issue we work on as part of the GBT work |
Hey team! Please add your planning poker estimate with Zenhub @arya2 @conradoplg @dconnolly @oxarbitrage @teor2345 @upbqdn |
A prerequisite for this issue is to find a suitable miner that would run in the CI. |
I think It is relatively cheap to mine on testnet, the difficulty is around 1-5 CPU cores most of the time. |
I think this issue is a nice to have so let's timebox it to a couple of days |
Is this a low priority or optional ticket? |
Depends on:
We may also decide to make #6118 the same priority as this one, e.g if this is optional so should #6118 be |
If miners are using Zebra in production, we'll need to test the mining RPCs work before we do each release. (Because we're not doing integration testing with every PR.) So I think this workflow is actually a blocker for mainnet mining in production. Otherwise, we could accidentally release a RPC bug, and miners would lose money and stop using Zebra. For example, we recently released a |
I don't think this ticket is a medium priority any more, our tests seem fine without it. |
Motivation
We want to add a workflow to Zebra that:
zebrad
node on testnetzebrad
zebrad
to syncWe also want to add this workflow to the release checklist, to make sure we haven't broken miner support.
Complex Code or Requirements
We'll need enough RPCs implemented to run the mining software, and we need to fix all the RPC bugs and incompatibilities.
Testing
We'll need to run the workflow manually a few times before merging the PR.
Timing
We're going to limit this ticket to 2 days of work, because it won't be usable in production. (We had to disable parts of
s-nomp
because it doesn't support NU5.)Related Work
Create a Docker image for mining on Testnet with Zebra:
Check that a miner can connect to Zebra, but don't wait for the sync, and don't mine any blocks:
The text was updated successfully, but these errors were encountered: