Module bump_transaction
Expand description
Utilities for bumping transactions originating from Event
s.
Structs§
- A descriptor used to sign for a commitment transaction’s anchor output.
- A handler for
Event::BumpTransaction
events that sources confirmed UTXOs from aCoinSelectionSource
to fee bump transactions via Child-Pays-For-Parent (CPFP) or Replace-By-Fee (RBF). - The result of a successful coin selection attempt for a transaction requiring additional UTXOs to cover its fees.
- An input that must be included in a transaction when performing coin selection through
CoinSelectionSource::select_confirmed_utxos
. It is guaranteed to be a SegWit input, so it must have an emptyTxIn::script_sig
when spent. - An unspent transaction output that is available to spend resulting from a successful
CoinSelection
attempt. - A wrapper over
WalletSource
that implementsCoinSelection
by preferring UTXOs that would avoid conflicting double spends. If not enough UTXOs are available to do so, conflicting double spends may happen.
Enums§
- Represents the different types of transactions, originating from LDK, to be bumped.
Traits§
- An abstraction over a bitcoin wallet that can perform coin selection over a set of UTXOs and can sign for them. The coin selection method aims to mimic Bitcoin Core’s
fundrawtransaction
RPC, which most wallets should be able to satisfy. Otherwise, consider implementingWalletSource
, which can provide a default implementation of this trait when used withWallet
. - An alternative to
CoinSelectionSource
that can be implemented and used alongWallet
to provide a default implementation toCoinSelectionSource
.