Zebra returns a confusing error for block proposals when it isn't fully synced yet #5991
Labels
A-diagnostics
Area: Diagnosing issues or monitoring performance
A-rpc
Area: Remote Procedure Call interfaces
C-bug
Category: This is a bug
I-usability
Zebra is hard to understand or use
Motivation
Sometimes Zebra knows that it isn't fully synced, but it accepts block proposals anyway.
This is a temporary issue that gets resolved when Zebra syncs to the tip. And it's just in proposal mode. So this seems like a low priority.
The proposals fail with an error like:
(The error format was changed in PRs #5993 and #6044.)
But it would be more helpful to return the same error as the template mode:
Specifications
We might want to follow whatever
zcashd
does here.This might impact compatibility with some mining pools.
Testing
Manually run
zcash-rpc-block-template-to-proposal
. To reproduce this error, get the template from a syncedzcashd
instance, and send it to a Zebra instance you just started.Related Work
These tickets change how errors are displayed:
zcashd
forgetblocktemplate
proposal mode errors #5981The text was updated successfully, but these errors were encountered: