mirror of https://github.com/zcash/orchard.git
3.7 KiB
3.7 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Rust's notion of Semantic Versioning.
[Unreleased]
Changed
orchard::bundle
:Action
has been moved toorchard::Action
.Bundle::{try_}authorize
have been renamed toBundle::{try_}map_authorization
.Flags::from_byte
now returnsOption<Flags>
instead ofio::Result<Flags>
.
impl Sub for orchard::value::NoteValue
now returnsValueSum
instead ofOption<ValueSum>
, as the result is guaranteed to be within the valid range ofValueSum
.
[0.1.0-beta.3] - 2022-04-06
Added
orchard::keys
:Scope
enum, for distinguishing external and internal scopes for viewing keys and addresses.FullViewingKey::{to_ivk, to_ovk}
, which each take aScope
argument.FullViewingKey::scope_for_address
Changed
- Migrated to
halo2_proofs 0.1.0-beta.4
,incrementalmerkletree 0.3.0-beta.2
. orchard::builder
:Builder::add_spend
now requires that theFullViewingKey
matches the givenNote
, and handles any scoping itself (instead of requiring the caller to pass theFullViewingKey
for the correct scope).
orchard::keys
:FullViewingKey::{address, address_at}
now each take aScope
argument.
Removed
orchard::keys
:FullViewingKey::derive_internal
impl From<&FullViewingKey> for IncomingViewingKey
(useFullViewingKey::to_ivk
instead).impl From<&FullViewingKey> for OutgoingViewingKey
(useFullViewingKey::to_ovk
instead).
[0.1.0-beta.2] - 2022-03-22
Added
orchard::keys
:DiversifierIndex::to_bytes
FullViewingKey::derive_internal
IncomingViewingKey::diversifier_index
orchard::note
:impl PartialEq, Eq, PartialOrd, Ord for Nullifier
orchard::primitives::redpallas::VerificationKey::verify
orchard::tree
:MerklePath::from_parts
impl PartialEq, Eq, PartialOrd, Ord for MerkleHashOrchard
impl From<orchard::bundle::BundleCommitment> for [u8; 32]
Clone
impls for various structs:orchard::Bundle::{recover_outputs_with_ovks, recover_output_with_ovk}
orchard::builder
:InProgress, SigningMetadata, SigningParts, Unauthorized, Unproven
orchard::circuit::Circuit
orchard::keys::SpendAuthorizingKey
orchard::primitives::redpallas::SigningKey
Changed
- MSRV is now 1.56.1.
- Bumped dependencies to
pasta_curves 0.3
,halo2_proofs 0.1.0-beta.3
. - The following methods now have an additional
rng: impl RngCore
argument:orchard::builder::Bundle::create_proof
orchard::builder::InProgress::create_proof
orchard::circuit::Proof::create
orchard::Bundle::commitment
now requires the boundV: Copy + Into<i64>
instead ofi64: From<&'a V>
.orchard::Bundle::binding_validating_key
now requires the boundV: Into<i64>
instead ofV: Into<ValueSum>
.orchard::builder::InProgressSignatures
andorchard::bundle::Authorization
now haveDebug
bounds on themselves and their associated types.
Removed
orchard::bundle
:commitments::hash_bundle_txid_data
(useBundle::commitment
instead).commitments::hash_bundle_auth_data
(useBundle::authorizing_commitment
instead).
orchard::keys
:FullViewingKey::default_address
IncomingViewingKey::default_address
DiversifierKey
(use the APIs onFullViewingKey
andIncomingViewingKey
instead).
impl std::hash::Hash for orchard::tree::MerkleHashOrchard
(useBTreeMap
instead ofHashMap
).orchard::value::ValueSum::from_raw
[0.1.0-beta.1] - 2021-12-17
Initial release!