pub struct BumpTransactionEventHandlerSync<B: Deref, C: Deref, SP: Deref, L: Deref>where
B::Target: BroadcasterInterface,
C::Target: CoinSelectionSourceSync,
SP::Target: SignerProvider,
L::Target: Logger,{ /* private fields */ }Expand description
A handler for Event::BumpTransaction events that sources confirmed UTXOs from a
CoinSelectionSourceSync to fee bump transactions via Child-Pays-For-Parent (CPFP) or
Replace-By-Fee (RBF).
For an asynchronous version of this handler, see BumpTransactionEventHandler.
Implementations§
Source§impl<B: Deref, C: Deref, SP: Deref, L: Deref> BumpTransactionEventHandlerSync<B, C, SP, L>where
B::Target: BroadcasterInterface,
C::Target: CoinSelectionSourceSync,
SP::Target: SignerProvider,
L::Target: Logger,
impl<B: Deref, C: Deref, SP: Deref, L: Deref> BumpTransactionEventHandlerSync<B, C, SP, L>where
B::Target: BroadcasterInterface,
C::Target: CoinSelectionSourceSync,
SP::Target: SignerProvider,
L::Target: Logger,
Sourcepub fn new(
broadcaster: B,
utxo_source: C,
signer_provider: SP,
logger: L,
) -> Self
pub fn new( broadcaster: B, utxo_source: C, signer_provider: SP, logger: L, ) -> Self
Constructs a new instance of BumpTransactionEventHandlerSync.
Sourcepub fn handle_event(&self, event: &BumpTransactionEvent)
pub fn handle_event(&self, event: &BumpTransactionEvent)
Handles all variants of BumpTransactionEvent.
Auto Trait Implementations§
impl<B, C, SP, L> Freeze for BumpTransactionEventHandlerSync<B, C, SP, L>
impl<B, C, SP, L> RefUnwindSafe for BumpTransactionEventHandlerSync<B, C, SP, L>
impl<B, C, SP, L> Send for BumpTransactionEventHandlerSync<B, C, SP, L>
impl<B, C, SP, L> Sync for BumpTransactionEventHandlerSync<B, C, SP, L>
impl<B, C, SP, L> Unpin for BumpTransactionEventHandlerSync<B, C, SP, L>
impl<B, C, SP, L> UnwindSafe for BumpTransactionEventHandlerSync<B, C, SP, L>
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