pub struct ExitCpfpRequest {
pub vtxo_id: VtxoId,
pub exit_tx: Transaction,
pub rbf_requirement: Option<RbfRequirement>,
}Expand description
Describes an exit transaction that needs a CPFP child to be confirmed.
Returned by crate::exit::Exit::exits_needing_cpfp. The caller creates a child transaction spending the P2A anchor of ExitCpfpRequest::exit_tx and submits it via crate::exit::Exit::provide_cpfp_tx.
Fields§
§vtxo_id: VtxoIdThe VTXO being exited.
exit_tx: TransactionThe exit transaction whose P2A anchor output must be spent by the CPFP child.
rbf_requirement: Option<RbfRequirement>If set, a third-party CPFP is already in the mempool and the child must replace it
via RBF. None means no CPFP exists yet and any valid fee is acceptable.
Trait Implementations§
Source§impl Clone for ExitCpfpRequest
impl Clone for ExitCpfpRequest
Source§fn clone(&self) -> ExitCpfpRequest
fn clone(&self) -> ExitCpfpRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExitCpfpRequest
impl RefUnwindSafe for ExitCpfpRequest
impl Send for ExitCpfpRequest
impl Sync for ExitCpfpRequest
impl Unpin for ExitCpfpRequest
impl UnsafeUnpin for ExitCpfpRequest
impl UnwindSafe for ExitCpfpRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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>
Wrap the input message
T in a tonic::Request