3.0 KiB
3.0 KiB
All notable changes to this library will be documented in this file.
The format is based on Keep a Changelog, and this library adheres to Rust's notion of Semantic Versioning.
[Unreleased]
Added
zcash_keys::address::Address::has_receiver
impl Display for zcash_keys::keys::AddressGenerationError
impl std::error::Error for zcash_keys::keys::AddressGenerationError
Changed
zcash_keys::keys::AddressGenerationError
has a new variantDiversifierSpaceExhausted
zcash_keys::keys::UnifiedFullViewingKey::{find_address, default_address}
now returnResult<(UnifiedAddress, DiversifierIndex), AddressGenerationError>
instead ofOption<(UnifiedAddress, DiversifierIndex)>
[0.1.1] - 2024-03-04
Added
zcash_keys::keys::UnifiedAddressRequest::all
Fixed
- A missing application of the
sapling
feature flag was remedied; prior to this fix it was not possible to use this crate without thesapling
feature enabled.
[0.1.0] - 2024-03-01
The entries below are relative to the zcash_client_backend
crate as of
zcash_client_backend 0.10.0
.
Added
zcash_keys::address
(moved fromzcash_client_backend::address
). Further additions to this module:UnifiedAddress::{has_orchard, has_sapling, has_transparent}
UnifiedAddress::receiver_types
UnifiedAddress::unknown
zcash_keys::encoding
(moved fromzcash_client_backend::encoding
).zcash_keys::keys
(moved fromzcash_client_backend::keys
). Further additions to this module:AddressGenerationError
UnifiedAddressRequest
- A new
orchard
feature flag has been added to make it possible to build client code withoutorchard
dependendencies.
Changed
- The following methods and enum variants have been placed behind an
orchard
feature flag:zcash_keys::address::UnifiedAddress::orchard
zcash_keys::keys::DerivationError::Orchard
zcash_keys::keys::UnifiedSpendingKey::orchard
zcash_keys::address
:RecipientAddress
has been renamed toAddress
.Address::Shielded
has been renamed toAddress::Sapling
.UnifiedAddress::from_receivers
no longer takes an Orchard receiver argument unless theorchard
feature is enabled.
zcash_keys::keys
:UnifiedSpendingKey::address
now takes an argument that specifies the receivers to be generated in the resulting address. Also, it now returnsResult<UnifiedAddress, AddressGenerationError>
instead ofOption<UnifiedAddress>
so that we may better report to the user how address generation has failed.UnifiedSpendingKey::transparent
is now only available when thetransparent-inputs
feature is enabled.UnifiedFullViewingKey::new
no longer takes an Orchard full viewing key argument unless theorchard
feature is enabled.
Removed
zcash_keys::address::AddressMetadata
(usezcash_client_backend::data_api::TransparentAddressMetadata
instead).