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

Update for block cache trait #6

Closed

Conversation

Oscar-Pepper
Copy link

No description provided.

str4d and others added 30 commits November 5, 2023 19:13
zcash_primitives: Implement `Clone` on bundle marker types
Test with bundled prover instead of local prover.
Prior to this change, it's necessary to implement the entirety of the
`WalletRead` trait in order to be able to use the input selection
functionality provided by `zcash_client_backend::data_api::input_selection`.
This change factors out the minimal operations required for transaction
proposal construction to better reflect the principle of least authority
and make the input selection code reusable in more contexts.

In order to minimize the operations of the newly-created `InputSource`
and `ShieldingSource` traits, this change also removes the
`min_confirmations` field from transaction proposals, in favor of
storing explicit target and anchor heights. This has the effect of
limiting the lifetime of transaction proposals to `PRUNING_DEPTH -
min_confirmations` blocks.
…ection

zcash_client_backend: Factor out `InputSource` from `WalletRead`
Introduce newtypes for Sapling circuit parameters
Co-authored-by: Daira Emma Hopwood <[email protected]>
Update `Cargo.lock` file with upgraded dependency versions.
zcash_client_sqlite: Fix broken intra-doc link on `unstable` feature.
…data

zcash_client_backend: Add Orchard note commitment tree size to block metadata.
Once `zcash_primitives::sapling` is extracted to `sapling-crypto`, these
would have become orphan impls.
…cashd

These can be removed after future zcashd refactors.
Refactor Sapling components and builder into `zcash_primitives::sapling`
…action::components::sapling`.

Signed-off-by: Daira Emma Hopwood <[email protected]>
str4d and others added 28 commits February 9, 2024 17:29
zcash_client_backend: Fix missing `test-dependencies` feature dependency.
It needn't return the account id that was given as an input, and it shouldn't return an 11-byte diversifier index when a 31-bit child index is more appropriate.
Declare and use NonHardenedChildIndex for transparent
…WalletRead methods.

This also moves the `TransparentAddressMetadata` type behind the
`transparent-inputs` feature flag and performs associated cleanup.
This separation is in preparation for modifying the `Proposal` type
to wrap a vector of proposal steps.
`zcash_client_backend`: Updates to the `Proposal` data structure
@Oscar-Pepper Oscar-Pepper deleted the update_for_block_cache_trait branch March 7, 2024 10:28
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.

9 participants