Package org.ldk.structs
Class BumpTransactionEventHandler
- java.lang.Object
-
- org.ldk.structs.BumpTransactionEventHandler
-
public class BumpTransactionEventHandler extends Object
A handler for [`Event::BumpTransaction`] events that sources confirmed UTXOs from a [`CoinSelectionSource`] to fee bump transactions via Child-Pays-For-Parent (CPFP) or Replace-By-Fee (RBF). [`Event::BumpTransaction`]: crate::events::Event::BumpTransaction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()voidhandle_event(BumpTransactionEvent event)Handles all variants of [`BumpTransactionEvent`].static BumpTransactionEventHandlerof(BroadcasterInterface broadcaster, CoinSelectionSource utxo_source, SignerProvider signer_provider, Logger logger)Returns a new instance capable of handling [`Event::BumpTransaction`] events.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
of
public static BumpTransactionEventHandler of(BroadcasterInterface broadcaster, CoinSelectionSource utxo_source, SignerProvider signer_provider, Logger logger)
Returns a new instance capable of handling [`Event::BumpTransaction`] events. [`Event::BumpTransaction`]: crate::events::Event::BumpTransaction
-
handle_event
public void handle_event(BumpTransactionEvent event)
Handles all variants of [`BumpTransactionEvent`].
-
-