Skip to content

Conversation

@dorianvp
Copy link

Ref: #964. This PR updates the wallet schema to incorporate all changes across different zcashd versions.

@dorianvp dorianvp marked this pull request as ready for review January 7, 2025 18:46

"acc*", "Account data", "1. ``string strAccount``", "1. ``CAccount account``"
"acentry*", "Track internal transfers between accounts in the same wallet", "1. ``string strAccount``
"3..4", "acc*", "Account data", "1. ``string strAccount``", "1. ``CAccount account``"
Copy link
Collaborator

@daira daira Jan 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the end version is less than 6:

  • Check this is actually correct.
  • If it is, describe how later versions handle/migrate the key.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like both acc and acentry, which were part of the 'account' API, were disabled since the Zcash launch, and removed in v4.5.0: https://github.com/zcash/zcash/releases/tag/v4.5.0.

Here is also the Bitcoin Core release it references: https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.17.0.md#label-and-account-apis-for-wallet.

Should we add the fact that both were deprecated/disabled, and that they have no replacement?

Copy link
Collaborator

@daira daira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK with comments.

dorianvp and others added 2 commits January 8, 2025 17:28
…r `chdseed` & `hdseed` and add instancing details.
@dorianvp dorianvp requested a review from daira January 15, 2025 20:01
Copy link
Contributor

@pacu pacu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kudos @dorianvp this looks very good.

daira
daira previously approved these changes Feb 22, 2025
Copy link
Collaborator

@daira daira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK with suggestions.

dorianvp and others added 4 commits May 18, 2025 16:14
`acc` and `acentry` were inherited from Bitcoin’s accounts API, but were disabled from Zcash’s inception and removed in v4.5.0. They have no replacement and were never used in Zcash wallets.

Co-authored-by: Daira-Emma Hopwood <[email protected]>
@dorianvp dorianvp requested review from daira and pacu May 18, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants