zcash_primitives: Remove `keys` module

This commit is contained in:
Jack Grigg 2023-12-14 18:17:20 +00:00
parent 6c5bdf85ce
commit b7bba9bbb2
4 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ pub struct DecryptedOutput<Note> {
/// True if this output was recovered using an [`OutgoingViewingKey`], meaning that
/// this is a logical output of the transaction.
///
/// [`OutgoingViewingKey`]: zcash_primitives::keys::OutgoingViewingKey
/// [`OutgoingViewingKey`]: sapling::keys::OutgoingViewingKey
pub transfer_type: TransferType,
}

View File

@ -110,8 +110,10 @@ and this library adheres to Rust's notion of
### Removed
- `zcash_primitives::constants`:
- All `const` values (moved to `sapling_crypto::constants`).
- `zcash_primitives::keys`:
- `zcash_primitives::keys` module, as it was empty after the removal of:
- `PRF_EXPAND_PERSONALIZATION`
- `OutgoingViewingKey` (use `sapling_crypto::keys::OutgoingViewingKey`
instead).
- `prf_expand, prf_expand_vec` (use `zcash_spec::PrfExpand` instead).
- `zcash_primitives::sapling` module (use the `sapling-crypto` crate instead).
- `zcash_primitives::transaction::components::sapling`:

View File

@ -1 +0,0 @@
pub use crate::sapling::keys::OutgoingViewingKey;

View File

@ -15,7 +15,6 @@
pub mod block;
pub mod consensus;
pub mod constants;
pub mod keys;
pub mod legacy;
pub mod memo;
pub mod merkle_tree;