Commit 1fce5c9
committed
feat: refactor unsignedSweep tx format in backupKeyRecovery
refactor format of unsignedSweep transactions in backupKeyRecovery to use
PSBT format instead of legacy format. This removes the need for the
formatForOfflineVault function and improves the format of transactions for
offline vault cosigning.
Ticket: BTC-2889
TICKET: BTC-28891 parent baa03cd commit 1fce5c9
File tree
25 files changed
+56
-900
lines changed- modules/abstract-utxo
- src/recovery
- test/unit/fixtures
- bcha/recovery
- bch/recovery
- bsv/recovery
- btc/recovery
- btg/recovery
- dash/recovery
- doge/recovery
- ltc/recovery
- tbcha/recovery
- tbch/recovery
- tbsv/recovery
- tbtc/recovery
- tdash/recovery
- tdoge/recovery
- tltc/recovery
- tzec/recovery
- zec/recovery
25 files changed
+56
-900
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 34 | | |
41 | 35 | | |
42 | | - | |
| 36 | + | |
43 | 37 | | |
44 | 38 | | |
45 | 39 | | |
46 | 40 | | |
47 | 41 | | |
48 | 42 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 43 | | |
75 | 44 | | |
76 | 45 | | |
| |||
316 | 285 | | |
317 | 286 | | |
318 | 287 | | |
319 | | - | |
| 288 | + | |
320 | 289 | | |
321 | 290 | | |
322 | 291 | | |
| |||
413 | 382 | | |
414 | 383 | | |
415 | 384 | | |
416 | | - | |
417 | | - | |
418 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
419 | 391 | | |
420 | 392 | | |
421 | 393 | | |
| |||
modules/abstract-utxo/test/unit/fixtures/bch/recovery/backupKeyRecovery-unsignedRecovery-p2sh.json
Lines changed: 2 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 2 | + | |
| 3 | + | |
31 | 4 | | |
32 | 5 | | |
33 | 6 | | |
| |||
Lines changed: 2 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 2 | + | |
| 3 | + | |
31 | 4 | | |
32 | 5 | | |
33 | 6 | | |
| |||
modules/abstract-utxo/test/unit/fixtures/bsv/recovery/backupKeyRecovery-unsignedRecovery-p2sh.json
Lines changed: 2 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 2 | + | |
| 3 | + | |
31 | 4 | | |
32 | 5 | | |
33 | 6 | | |
| |||
0 commit comments