librustzcash/components/zcash_protocol/CHANGELOG.md

1.2 KiB

Changelog

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]

The entries below are relative to the zcash_primitives crate as of the tag zcash_primitives-0.14.0.

Added

  • The following modules have been extracted from zcash_primitives and moved to this crate:
    • consensus
    • constants
    • zcash_protocol::value replaces zcash_primitives::transaction::components::amount
  • Added in zcash_protocol::value:
    • Zatoshis
    • ZatBalance

Removed

  • From zcash_protocol::value:
    • NonNegativeAmount (use Zatoshis instead.)
    • Amount (use ZatBalance instead.)
    • The following conversions have been removed relative to zcash_primitives-0.14.0, as zcash_protocol does not depend on the orchard or sapling-crypto crates.
      • From<NonNegativeAmount> for orchard::NoteValue>
      • TryFrom<orchard::ValueSum> for Amount
      • From<NonNegativeAmount> for sapling::value::NoteValue>
      • TryFrom<sapling::value::NoteValue> for NonNegativeAmount