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

zcash_client_backend: Require the tree state for the start of each sc… #38

Conversation

nuttycom
Copy link
Owner

…anned range.

In order to support constructing the anchor for multiple pools with a common anchor height, we must be able to checkpoint each note commitment tree (and consequently compute the root) at that height. Since we may not have the information in the tree needed to do so, we require that it be provided.

As a bonus, this change makes it possible to improve the UX around spendability, because we will no longer require subtree ranges below received notes to be fully scanned; the inserted frontier provides sufficient information to make them spendable.

@nuttycom nuttycom force-pushed the sqlite_wallet/fix_multi_pool_checkpointing branch 8 times, most recently from e564b38 to 3a97f39 Compare March 12, 2024 14:56
@nuttycom nuttycom force-pushed the sqlite_wallet/orchard_support branch 2 times, most recently from 9452698 to 5a28970 Compare March 12, 2024 16:34
…port

`zcash_client_sqlite`: Add Orchard wallet support
…anned range.

In order to support constructing the anchor for multiple pools with a
common anchor height, we must be able to checkpoint each note commitment
tree (and consequently compute the root) at that height. Since we may
not have the information in the tree needed to do so, we require that it
be provided.

As a bonus, this change makes it possible to improve the UX around
spendability, because we will no longer require subtree ranges below
received notes to be fully scanned; the inserted frontier provides
sufficient information to make them spendable.
@nuttycom nuttycom force-pushed the sqlite_wallet/fix_multi_pool_checkpointing branch from 3a97f39 to a086a82 Compare March 12, 2024 17:11
@nuttycom nuttycom deleted the branch sqlite_wallet/orchard_support March 12, 2024 17:14
@nuttycom nuttycom closed this Mar 12, 2024
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.

1 participant