Skip to content
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

Question about getnewaddress #5988

Open
ghost opened this issue Jun 5, 2022 · 1 comment
Open

Question about getnewaddress #5988

ghost opened this issue Jun 5, 2022 · 1 comment
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Jun 5, 2022

getnewaddress is being deprecated.

It is the only way to generate standalone transparent addresses for a zcash-cli wallet.

z_getaddressforaccount only generates unified addresses. In unified addresses, transparent addresses must be bundled with other address types.

If getnewaddress is deprecated, it will be impossible for users to generate standalone transparent addresses.

Standalone transparent addresses are not deprecated from Zcash.

Therefore, getnewaddress should be un-deprecated.

Unless I am missing something?

@ghost ghost mentioned this issue Jun 6, 2022
@str4d str4d added question A-wallet Area: Wallet labels Jun 6, 2022
@str4d
Copy link
Contributor

str4d commented Jun 6, 2022

If getnewaddress is deprecated, it will be impossible for users to generate standalone transparent addresses.

That is indeed our long-term goal for the zcashd wallet. There are plenty of other transparent-only wallets in the ecosystem that can be used instead; we want the zcashd wallet to shift focus to only interacting with the transparent pool as part of a unified account strategy (hence we have deprecated both getnewaddress and z_getnewaddress).

Standalone transparent addresses are not deprecated from Zcash.

The transparent protocol is not (yet) deprecated from the Zcash network. But now that we have accounts and Unified Addresses in the zcashd wallet, we want to start the process of deprecating the legacy transparent-only parts of the zcashd wallet. I expect the deprecation timeline will be longer than for other APIs, but preventing creating of new legacy transparent addresses is the necessary first step in migrating zcashd wallet users away from the legacy transparent wallet.

It's worth noting that nothing has changed about getnewaddress itself yet, other than we have enabled zcashd users to test their stacks with getnewaddress disabled (in order to discover places where they assume its presence).

@daira daira added this to the Release 5.7.0 milestone Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants