Update changelog.
This commit is contained in:
parent
62bd06f14e
commit
168314cec6
|
@ -10,7 +10,12 @@ and this library adheres to Rust's notion of
|
|||
- `zcash_primitives::transaction::Builder::with_progress_notifier`, for setting
|
||||
a notification channel on which transaction build progress updates will be
|
||||
sent.
|
||||
|
||||
- `zcash_primitives::transaction::Txid::{read, write, from_bytes}`
|
||||
- `zcash_primitives::sapling::NoteValue` a typesafe wrapper for Sapling note values.
|
||||
- `zcash_primitives::consensus::BranchId::{height_range, height_bounds}` functions
|
||||
to provide range values for branch active heights.
|
||||
- `zcash_primitives::consensus::NetworkUpgrade::Nu5` value representing the Nu5 upgrade.
|
||||
- `zcash_primitives::consensus::BranchId::Nu5` value representing the Nu5 consensus branch.
|
||||
### Changed
|
||||
- MSRV is now 1.51.0.
|
||||
- The following modules and helpers have been moved into
|
||||
|
@ -24,6 +29,13 @@ and this library adheres to Rust's notion of
|
|||
- `zcash_primitives::util::{hash_to_scalar, generate_random_rseed}`
|
||||
- Renamed `zcash_primitives::transaction::components::JSDescription` to
|
||||
`JsDescription` (matching Rust naming conventions).
|
||||
- `zcash_primitives::transaction::TxId` contents is now private.
|
||||
- Renamed `zcash_primitives::transaction::components::tze::hash` to
|
||||
`zcash_primitives::transaction::components::tze::txid`
|
||||
- `zcash_primitives::transaction::components::tze::TzeOutPoint` constructor
|
||||
now taxes a TxId rather than a raw byte array.
|
||||
- `zcash_primitives::transaction::components::Amount` addition, subtraction,
|
||||
and summation now return `Option` rather than panicing on overflow.
|
||||
|
||||
## [0.5.0] - 2021-03-26
|
||||
### Added
|
||||
|
|
|
@ -513,9 +513,9 @@ impl BranchId {
|
|||
/// Returns the range of heights for the consensus epoch associated with this branch id.
|
||||
///
|
||||
/// The return type of this value is slightly more precise than [`Self::height_range`]:
|
||||
/// - `Some((x, Some(y)))` means that the consensus rules corresponding to this branch id
|
||||
/// - `Some((x, Some(y)))` means that the consensus rules corresponding to this branch id
|
||||
/// are in effect for the range `x..y`
|
||||
/// - `Some((x, None))` means that the consensus rules corresponding to this branch id are
|
||||
/// - `Some((x, None))` means that the consensus rules corresponding to this branch id are
|
||||
/// in effect for the range `x..`
|
||||
/// - `None` means that the consensus rules corresponding to this branch id are never in effect.
|
||||
pub fn height_bounds<P: Parameters>(
|
||||
|
|
Loading…
Reference in New Issue