Commit 3a5a67e
committed
feat!: Replace
**Remove `PsbtUpdater` & `Builder`**
These was no need for these to be separated. The builder pattern was
nice but not needed at this stage.
**Remove `DataProvider`**
Instead of creating a separate struct for passing in data for
inputs/outputs. We can just have the data within our inputs/outputs.
**Introduce `Input` and `Output` types**
The `Input` type is what is passed through all stages of tx-building.
From canonicalization, grouping/filtering, coin-selection and finally
used to create the psbt.
The `Output` type is used to describe a psbt output. It either is one
that we own (in which, we have the descriptor), or one we do not (in
which case, we just have a spk).PsbtUpdater and Builder with create_psbt method1 parent 686bdb6 commit 3a5a67e
File tree
8 files changed
+1027
-1366
lines changed- src
- tests
8 files changed
+1027
-1366
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments