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_sqlite: Track all transparent spends. #1496

Merged
merged 8 commits into from
Aug 19, 2024

Commits on Aug 15, 2024

  1. zcash_client_sqlite: Track all transparent spends.

    Prior to this change, the `mark_transparent_utxo_spent` method assumed
    that the UTXO information for outputs belonging to the wallet would be
    known to exist before their spends could be detected. However, this is
    not true in transparent history recovery: the spends are detected first.
    We now cache the information about those spends so that we can then
    correctly record the spend when the output being spent is eventually
    detected.
    
    At present, data from this spend cache is never deleted. This is because
    such deletions could undermine history recovery in some narrow cases
    related to chain reorgs.
    nuttycom committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    54f59a8 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    895d92b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a00ff0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3089e3b View commit details
    Browse the repository at this point in the history
  4. zcash_client_sqlite: Ensure we will query for status of unmined trans…

    …actions in `store_decrypted_tx`
    nuttycom committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    4059bfe View commit details
    Browse the repository at this point in the history
  5. zcash_client_sqlite: Move store_decrypted_tx to the wallet module.

    This permits this method to be used in a migration.
    nuttycom committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    c22a2a4 View commit details
    Browse the repository at this point in the history
  6. zcash_client_sqlite: Reprocess wallet transactions on upgrade to rest…

    …ore additional transparent history.
    nuttycom committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    484659d View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. zcash_client_sqlite: Ensure the end heights of SpendsFromAddress re…

    …quests do not exceed the chain tip.
    
    `lightwalletd` will return an error in the case that the requested end
    height exceeds the chain tip. This should be considered a bug in
    lightwalletd, but for now we will work around it in the wallet.
    nuttycom committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    5a32d3b View commit details
    Browse the repository at this point in the history