Expand description
bdk_tx
Re-exports§
pub extern crate bdk_coin_select;
Re-exports§
pub use miniscript;pub use miniscript::bitcoin;
Structs§
- Cannot
Meet Target - Error when the selection is impossible with the input candidates
- Canonical
Unspents - Our canonical view of unspent outputs.
- Coinbase
Mismatch - Mismatch between the expected and actual value of
Transaction::is_coinbase. - Confirmation
Status - Confirmation status of tx data.
- Finalize
Map - Holds the results of finalization
- Finalizer
- Type used to finalize inputs of a Partially Signed Bitcoin Transaction (PSBT) using a collection of pre-computed spending plans.
- Input
- Single-input plan.
- Input
Candidates - Input candidates.
- Input
Group - Input group. Cannot be empty.
- Input
Mut - Mutable handle to an
Inputheld inside aSelection. - Original
TxHas NoInputs Available - Occurs when the given original tx has no input spend that is still available for spending.
- Original
TxStats - Rbf original tx stats.
- Output
- Builder output
- Psbt
Params - Parameters for creating a psbt.
- RbfParams
- Rbf params.
- RbfSet
- Set of txs to replace.
- Selection
- Final selection of inputs and outputs.
- Selector
- A coin selector
- Selector
Params - Parameters for creating tx.
- Signer
- A PSBT signer
Enums§
- Anti
FeeSniping Error - Error returned by
apply_anti_fee_sniping. - Change
Script - Source of the change output script and its spending cost.
- Create
Psbt Error - Occurs when creating a psbt fails.
- Extract
Replacements Error - Error when attempting to do
extract_replacements. - From
Psbt Input Error - Error creating
Inputfrom a PSBT input - GetForeign
Unspent Error - Canonical unspents error
- Into
Selection Error - Occurs when we cannot find a solution for selection.
- Script
Source - Source of the output script pubkey
- Selector
Error - Selector error
- SetSequence
Error - Error returned by
Input::set_sequence.
Traits§
- FeeRate
Ext - Extension trait for converting
bitcoin::FeeRatetobdk_coin_select::FeeRate.
Functions§
- filter_
unspendable - Filter out inputs that cannot be spent now.
- group_
by_ spk - Default group policy.
- no_
filtering - No filtering.
- selection_
algorithm_ lowest_ fee_ bnb - Select for lowest fee with bnb
Type Aliases§
- Definite
Descriptor - Definite descriptor.
- TxWith
Status - Tx with confirmation status.