Enum wallet::transaction::InputStrategy
source · pub enum InputStrategy {
BestEffort,
PrivacyPreserving,
}
Variants§
BestEffort
try to get the most optimise transaction consuming the wallet’s utxos in the most efficient way.
PrivacyPreserving
preserve the privacy of the UTxOs
This means the transaction will be only composed of inputs of the same public key. If a change needs created it will create it to a different unused change, this may create dust
This option is incompatible with the UTXO_CHANGE_TO_ACCOUNT
Trait Implementations§
source§impl Clone for InputStrategy
impl Clone for InputStrategy
source§fn clone(&self) -> InputStrategy
fn clone(&self) -> InputStrategy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InputStrategy
impl Debug for InputStrategy
source§impl Hash for InputStrategy
impl Hash for InputStrategy
source§impl Ord for InputStrategy
impl Ord for InputStrategy
source§fn cmp(&self, other: &InputStrategy) -> Ordering
fn cmp(&self, other: &InputStrategy) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<InputStrategy> for InputStrategy
impl PartialEq<InputStrategy> for InputStrategy
source§fn eq(&self, other: &InputStrategy) -> bool
fn eq(&self, other: &InputStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<InputStrategy> for InputStrategy
impl PartialOrd<InputStrategy> for InputStrategy
source§fn partial_cmp(&self, other: &InputStrategy) -> Option<Ordering>
fn partial_cmp(&self, other: &InputStrategy) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for InputStrategy
impl Eq for InputStrategy
impl StructuralEq for InputStrategy
impl StructuralPartialEq for InputStrategy
Auto Trait Implementations§
impl RefUnwindSafe for InputStrategy
impl Send for InputStrategy
impl Sync for InputStrategy
impl Unpin for InputStrategy
impl UnwindSafe for InputStrategy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more