Clean up changelog

This commit is contained in:
Jack Grigg 2024-01-10 22:29:59 +00:00
parent 4b09ef6ab5
commit 21cff6bb9d
1 changed files with 21 additions and 19 deletions

View File

@ -15,29 +15,31 @@ and this project adheres to Rust's notion of
with or without use of the license exception.
### Added
- `orchard::builder::bundle`
- `orchard::builder::BundleMetadata`
- `orchard::builder::BundleType`
- `orchard::builder::OutputInfo`
- `orchard::builder`:
- `bundle`
- `BundleMetadata`
- `BundleType`
- `OutputInfo`
- `orchard::bundle::Flags::{ENABLED, SPENDS_DISABLED, OUTPUTS_DISABLED}`
- `orchard::tree::Anchor::empty_tree`
### Changed
- `orchard::builder::Builder::new` now takes the bundle type to be used
in bundle construction, instead of taking the flags and anchor separately.
- `orchard::builder::Builder::add_recipient` has been renamed to `add_output`
in order to clarify than more than one output of a given transaction may be
sent to the same recipient.
- `orchard::builder::Builder::build` now takes an additional `BundleType` argument
that specifies how actions should be padded, instead of using hardcoded padding.
It also now returns a `Result<Option<(Bundle<...>, BundleMetadata)>, ...>` instead of a
`Result<Bundle<...>, ...>`.
- `orchard::builder::BuildError` has additional variants:
- `SpendsDisabled`
- `OutputsDisabled`
- `AnchorMismatch`
- `orchard::builder::SpendInfo::new` now returns a `Result<SpendInfo, SpendError>`
instead of an `Option`.
- `orchard::builder`:
- `Builder::new` now takes the bundle type to be used in bundle construction,
instead of taking the flags and anchor separately.
- `Builder::add_recipient` has been renamed to `add_output` in order to
clarify than more than one output of a given transaction may be sent to the
same recipient.
- `Builder::build` now takes an additional `BundleType` argument that
specifies how actions should be padded, instead of using hardcoded padding.
It also now returns a `Result<Option<(Bundle<...>, BundleMetadata)>, ...>`
instead of a `Result<Bundle<...>, ...>`.
- `BuildError` has additional variants:
- `SpendsDisabled`
- `OutputsDisabled`
- `AnchorMismatch`
- `SpendInfo::new` now returns a `Result<SpendInfo, SpendError>` instead of an
`Option`.
### Removed
- `orchard::bundle::Flags::from_parts`