Expand description
Change strategies designed to implement the ZIP 317 fee rules.
Change selection in ZIP 317 requires careful handling of low-valued inputs to ensure that inputs added to a transaction do not cause fees to rise by an amount greater than their value.
Structs§
- Multi
Output Change Strategy - A change strategy that attempts to split the change value into some number of equal-sized notes
as dictated by the included
SplitPolicy
value. - Single
Output Change Strategy - A change strategy that proposes change as a single output. The output pool is chosen as the most current pool that avoids unnecessary pool-crossing (with a specified fallback when the transaction has no shielded inputs). Fee calculation is delegated to the provided fee rule.
Traits§
- Zip317
FeeRule - An extension to the [
FeeRule
] trait that exposes methods required for ZIP 317 fee calculation.