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

Migrations & data storage for pre-DAG-sync #831

Merged
merged 27 commits into from
Jul 4, 2023

Commits on Jun 26, 2023

  1. Configuration menu
    Copy the full SHA
    32e2991 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. zcash_client_backend: Use shardtree for note commitments in block s…

    …canning.
    
    Also adds a skeleton `zcash_client_sqlite` implementation of
    `shardtree::ShardStore` and a skeleton migration for related
    database changes.
    nuttycom committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    3e358bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed2e22b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f2bb94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ade882d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d11f3d2 View commit details
    Browse the repository at this point in the history
  6. zcash_client_backend: Replace WalletWrite::advance_by_block with `W…

    …alletWrite::put_block`
    
    Also, add assertions to prevent attempting the creation of zero-conf
    shielded spends.
    nuttycom committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    c42cffe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    425b5e0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0a4236f View commit details
    Browse the repository at this point in the history
  9. zcash_client_sqlite: Generalize SQLite-backed ShardStore impl to make…

    … it reusable for Orchard.
    nuttycom committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    106669d View commit details
    Browse the repository at this point in the history
  10. zcash_client_sqlite: Move the SqliteShardStore implementation out of …

    …the `wallet::sapling` module.
    nuttycom committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    547634e View commit details
    Browse the repository at this point in the history
  11. Reorganize Sapling and Orchard note commitment tree sizes in CompactB…

    …lock.
    
    We move thes fields out into a separate BlockMetadata struct to ensure
    that future additions to block metadata are structurally separated from
    future additions to block data.
    nuttycom committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    ba70917 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. Configuration menu
    Copy the full SHA
    d65b129 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fa3a08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c05b3d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    45177a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    95745dd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cd939f9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    70497a2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8625e9a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e225a54 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2023

  1. Remove zcash_client_backend::data_api::chain::validate_chain

    Local chain validation will be performed internal to
    `scan_cached_blocks`, and as handling of chain reorgs will need to
    change to support out-of-order scanning, the `validate_chain` method
    will be superfluous. It is removed in advance of other changes in order
    to avoid updating it to reflect the forthcoming changes.
    nuttycom committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    77b6380 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. Move chain continuity checks into scan_block_with_runner

    In preparation for out-of-order range-based scanning, it is necessary
    to ensure that the size of the Sapling note commitment tree is carried
    along through the scan process and that stored blocks are always
    persisted with the updated note commitment tree size.
    nuttycom committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    e3aafda View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09a0096 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42ed6ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c363e71 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c13c8c6 View commit details
    Browse the repository at this point in the history