-
Notifications
You must be signed in to change notification settings - Fork 111
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
Implement z_validateaddress RPC #6083
Comments
Hey team! Please add your planning poker estimate with Zenhub @arya2 @conradoplg @dconnolly @oxarbitrage @teor2345 @upbqdn |
This is on the critical path for mining pool testing. |
How do we know we don't have to implement the |
We don't support Sapling shielded coinbase yet (#5472), and those fields are only used for Sapling. So we could add those fields to the Sapling ticket, if they aren't already there? |
Even though it's not stated in the spec, Zcashd checks unified addresses. Should we also support those? |
Maybe as a separate ticket once the unified address PR #6171 merges? |
@upbqdn did you want to open that ticket so we don't forget? It doesn't need to be long, we can fill it in later. |
yes, I'd rather not block testing and the release on unified addresses. We can add them in after. |
Motivation
Some mining pools use this RPC to check addresses.
Specifications
https://zcash.github.io/rpc/z_validateaddress.html
Designs
We can call the
zcash_address
crate to validate shielded and unified addresses. (Zebra also has its own transparent address parsing, but we'd be better to just be consistent and usezcash_address
for everything.)We just need to implement these fields:
The
Address
enum added in #6086 can be extended to convert shielded addresses as well for implementing this RPC.The text was updated successfully, but these errors were encountered: