Expand description
bdk_tx
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. - Finalize
Map - Holds the results of finalization
- Finalizer
- Finalizer
- Input
- Single-input plan.
- Input
Candidates - Input candidates.
- Input
Group - Input group. Cannot be empty.
- Missing
Outputs - Occurs when we are missing outputs.
- 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
- TxStatus
- Confirmation status of a tx data.
Enums§
- Change
Policy Type - Change policy type
- 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.
- Policy
Failure - Occurs when a must-select policy cannot be fulfilled.
- Script
Source - Source of the output script pubkey
- Selector
Error - Selector error
Functions§
- filter_
unspendable_ now - 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.