Expand description
Types related to the process of selecting inputs to be spent given a transaction request.
Re-exports§
pub use crate::data_api::locking::LockFilter;pub use crate::data_api::locking::LockedInputPolicy;
Structs§
- Greedy
Input Selector - An
InputSelectorimplementation that uses a greedy strategy to select between available notes. - NonEmptyB
Tree Set - A
BTreeSetthat is guaranteed to contain at least one element. - Spend
Policy - The sources of funds an
InputSelectoris permitted to draw upon when satisfying a transaction request. - Transparent
Spend Policy transparent-inputs - Specifies how transparent UTXOs may be spent in a transfer, when a
SpendPolicypermits transparent spending.
Enums§
- Coinbase
Policy - The caller’s choice of which coinbase transparent outputs a transparent spend may draw upon.
- Greedy
Input Selector Error - Errors that can occur as a consequence of greedy input selection.
- Input
Selector Error - The type of errors that may be produced in input selection.
- Note
Selection - How an
InputSelectorchooses among eligible notes when funding a payment. - Transparent
Source transparent-inputs - The transparent receivers a
TransparentSpendPolicymay draw UTXOs from.
Traits§
- Input
Selector - A strategy for selecting transaction inputs and proposing transaction outputs.
- Shielding
Selector transparent-inputs - A strategy for selecting transaction inputs and proposing transaction outputs for shielding-only transactions (transactions which spend transparent UTXOs and send all transaction outputs to the wallet’s shielded internal address(es)).