Commit 2a40d6e
committed
feat(psbt): Introduce
We add the `psbt::params` module along with new types
including `PsbtParams`, `ReplaceParams`, and `SelectionStrategy`.
`PsbtParams` is mostly inspired by `TxParams` from `tx_builder.rs`,
except that we've removed support for `policy_path` in favor of
`add_assets` API. Further enhancements include `.utxo_filter` and
`.canonical_params` member fields.
In `lib.rs` re-export everything under `psbt` module.
- deps: Add `bdk_tx` 0.1.0
- deps: Add `bdk_coin_select` 0.4.1PsbtParams
1 parent 6a8a3d0 commit 2a40d6e
4 files changed
+579
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
0 commit comments