Expand description
This module provides synchronous wrappers around BumpTransactionEventHandler and related types.
Structs§
- Bump
Transaction Event Handler Sync - A handler for
Event::BumpTransactionevents that sources confirmed UTXOs from aCoinSelectionSourceSyncto fee bump transactions via Child-Pays-For-Parent (CPFP) or Replace-By-Fee (RBF). - Wallet
Sync - A wrapper over
WalletSourceSyncthat implementsCoinSelectionSourceSyncby preferring UTXOs that would avoid conflicting double spends. If not enough UTXOs are available to do so, conflicting double spends may happen.
Traits§
- Coin
Selection Source Sync - 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
fundrawtransactionRPC, which most wallets should be able to satisfy. Otherwise, consider implementingWalletSourceSync, which can provide a default implementation of this trait when used withWalletSync. - Wallet
Source Sync - An alternative to
CoinSelectionSourceSyncthat can be implemented and used alongWalletSyncto provide a default implementation toCoinSelectionSourceSync.