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: Ensure that wallets don't select potentially-spent notes during recovery. #994

Open
nuttycom opened this issue Sep 26, 2023 · 1 comment

Comments

@nuttycom
Copy link
Contributor

In "recovery mode", we can't spend funds that we received before the recovery height, because we might later discover them as having been spent. However, this shouldn't inhibit a wallet from spending funds that it received above the recovery height, because blocks scanned above the recovery height are essentially scanned in "normal" mode. So recovery mode should only be something that affects spendable balance by checking received notes against the recovery height when the fully-scanned height is below the recovery height; otherwise the wallet should just operate as normal.

@nuttycom nuttycom added this to the SDK 2.0 Post-Release Cleanup milestone Sep 26, 2023
@nuttycom nuttycom changed the title Make "recovery mode" smarter. zcash_client_backend: Ensure that wallets don't select potentially-spent notes during recovery. Oct 24, 2024
@nuttycom
Copy link
Contributor Author

Related to #1591

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

No branches or pull requests

3 participants
@nuttycom @str4d and others