-
Notifications
You must be signed in to change notification settings - Fork 2k
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
New RPC: listaddresses #5328
Comments
Do we also need |
Let's keep this issue focused on address visibility (not viewing keys). I'd like to iterate on the design for this quickly, because users are currently having trouble accessing t-addrs (#5338), so if we can get a coherent design, we can deploy the minimal parts of it quickly and then expand later. |
@adityapk00 does this API, as implemented in #5343, support your needs? Edit: After discussing the API with @str4d, we're going to expand this to include a bit more information, expect updates. |
Yes, #5343 works for Zecwallet. |
@adityapk00 Here's an iteration on the structure that we're contemplating returning from this method:
Unified address support will then be added under a new "unified" key in the coming weeks. |
|
@str4d Update to replace "keypool" with "legacy_random" since Sprout keys are randomly generated and are not pooled; the transparent keypool behavior is really an implementation detail over random key generation used to work around wallet locking behavior. |
@adityapk00 Here's the final structure:
We're getting ready for the hotfix release and just wanted to confirm that this will work for your needs. |
Returns a list of all addresses tracked by the wallet. This should return a heterogenous list containing
{"transparent": { "address": "<taddr>", "watchonly": <true/false>}}
{"sprout": { "address": "<zaddr>"}}
{"sapling": { "address": "<zaddr>"}}
{"unified": {"address": "<ua>", "receiver_types": ["transparent", "sapling", ...]}}
The text was updated successfully, but these errors were encountered: