-
Notifications
You must be signed in to change notification settings - Fork 106
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
Tracking: Official support for mining RPCs in Zebra #7366
Comments
These aren't related to performance, they are for detecting bugs in our proposal construction. But since we haven't seen any invalid proposals for a long time, I think we should close these tickets, and open tickets for any specific proposal bugs that actually happen. |
I think these cleanups can be turned into TODOs in the code instead, and we can fix them if we modify that code in future. |
This is a usability issue, not really technical debt. Currently Zebra panics, which is ok, but warning and ignoring the unused config fields would (possibly) be better for some users. The drawback is that users who expect Zebra to fail if the Zebra version or config is wrong will be surprised. |
I'm thinking this will require a PR and review cycle anyway (albeit a shorter one than actually fixing it) and will therefore languish in our backlog as a result |
I honestly don't think it matters either way. We might be more likely to do the change if there's a TODO near the code we're modifying anyway. But since it's not an important change, it doesn't really matter how likely we are to do it. |
We are done here for now 🎉 |
Motivation
We want to officially support mining functionality in zebra by making it available on the stable Zebra docker image.
Before we are comfortable doing this we might want to do some of the following:
Scope
Making
getblocktemplate-rpcs
a default featurePotential security issues
getnetworksolps
&getnetworkhashps
RPCs hang with large num_blocks #6688Related work
Optional
Performance improvements
getnetworksolps
&getnetworkhashps
RPCs more efficient by caching difficulties and times #7403Don't return from long polling if the block template is an invalid block proposal #6037Verify proposals are valid after sending them to miners #6047Usability
valuesPools
andchainSupply
fields #5449getblocktemplate
for Sapling addresses #5472getnetworkinfo
RPC so the defaults-nomp
config works #6082startingheight
field togetpeers
RPC #6068getblocktemplate
for Orchard Unified addresses #5929Log a warning when the loaded config includes fields used by elasticsearch feature #7118no longer relatedTech debt
z_listunifiedreceivers
RPC implementation #6190This is an exhaustive list that will need to be triaged and prioritised further.
The text was updated successfully, but these errors were encountered: