pub enum ConfirmationTarget {
MempoolMinimum,
Background,
Normal,
HighPriority,
}
Expand description
An enum that represents the priority at which we want a transaction to confirm used for feerate estimation.
Variants§
MempoolMinimum
We’d like a transaction to confirm in the future, but don’t want to commit most of the fees required to do so yet. The remaining fees will come via a Child-Pays-For-Parent (CPFP) fee bump of the transaction.
The feerate returned should be the absolute minimum feerate required to enter most node mempools across the network. Note that if you are not able to obtain this feerate estimate, you should likely use the furthest-out estimate allowed by your fee estimator.
Background
We are happy with a transaction confirming slowly, at least within a day or so worth of blocks.
Normal
We’d like a transaction to confirm without major delayed, i.e., within the next 12-24 blocks.
HighPriority
We’d like a transaction to confirm in the next few blocks.
Trait Implementations§
§impl Clone for ConfirmationTarget
impl Clone for ConfirmationTarget
§fn clone(&self) -> ConfirmationTarget
fn clone(&self) -> ConfirmationTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for ConfirmationTarget
impl Debug for ConfirmationTarget
§impl Hash for ConfirmationTarget
impl Hash for ConfirmationTarget
§impl PartialEq for ConfirmationTarget
impl PartialEq for ConfirmationTarget
§fn eq(&self, other: &ConfirmationTarget) -> bool
fn eq(&self, other: &ConfirmationTarget) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for ConfirmationTarget
impl Eq for ConfirmationTarget
impl StructuralPartialEq for ConfirmationTarget
Auto Trait Implementations§
impl Freeze for ConfirmationTarget
impl RefUnwindSafe for ConfirmationTarget
impl Send for ConfirmationTarget
impl Sync for ConfirmationTarget
impl Unpin for ConfirmationTarget
impl UnwindSafe for ConfirmationTarget
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request