zcash_primitives: Remove the deprecated 1000-ZAT DEFAULT_FEE constant

This commit is contained in:
Kris Nuttycombe 2023-09-01 12:46:13 -06:00
parent 229f6e82ad
commit 14d61a2e98
2 changed files with 2 additions and 8 deletions

View File

@ -37,6 +37,8 @@ and this library adheres to Rust's notion of
- `impl {PartialEq, Eq} for transaction::builder::Error`
(use `assert_matches!` where error comparisons are required)
- `zcash_primitives::transaction::components::orchard::Unauthorized`
- `zcash_primitives::transaction::components::amount::DEFAULT_FEE` was
deprecated in 0.12.0 and has now been removed.
## [0.12.0] - 2023-06-06
### Added

View File

@ -8,14 +8,6 @@ use orchard::value as orchard;
pub const COIN: i64 = 1_0000_0000;
pub const MAX_MONEY: i64 = 21_000_000 * COIN;
#[deprecated(
since = "0.12.0",
note = "To calculate the ZIP 317 fee, use `transaction::fees::zip317::FeeRule`.
For a constant representing the minimum ZIP 317 fee, use `transaction::fees::zip317::MINIMUM_FEE`.
For the constant amount 1000 zatoshis, use `Amount::const_from_i64(1000)`."
)]
pub const DEFAULT_FEE: Amount = Amount(1000);
/// A type-safe representation of some quantity of Zcash.
///
/// An Amount can only be constructed from an integer that is within the valid monetary