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

Implement BlockCache trait for FsBlockDb #1535

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Commits on Oct 28, 2024

  1. zcash_client_backend: Switch from async-trait to RPIT for BlockCache

    The `BlockCache::truncate` default method is removed because the
    `trait-variant` crate does not yet support default methods.
    str4d committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    6f9390b View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. zcash_client_backend: Generalise BlockSource::with_blocks error

    Instead of requiring `zcash_client_backend::data_api::chain::Error`, it
    now works with any error type that `BlockSource::Error` can be converted
    into. We require an explicit conversion function instead of using `From`
    because in the specific case of `data_api::chain::Error` it would result
    in conflicting `From` impls.
    str4d committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    36144f9 View commit details
    Browse the repository at this point in the history
  2. implement Sync for FsBlockDb and BlockDb so they can implement BlockC…

    …ache trait
    
    Co-authored-by: Jack Grigg <[email protected]>
    Oscar-Pepper and str4d committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    95649dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3bf952 View commit details
    Browse the repository at this point in the history
  4. implement BlockCache for FsBlockDb

    Oscar-Pepper authored and str4d committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    69cf2d9 View commit details
    Browse the repository at this point in the history
  5. updated change logs

    Oscar-Pepper authored and str4d committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    22b7714 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    163dbc7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3d1c710 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    020438c View commit details
    Browse the repository at this point in the history