Commit a5335a1
committed
Merge #1789: Change default tx to version 2
2219b7c fix(tx_builder): change default tx to version 2 (benalleng)
Pull request description:
<!-- You can erase any parts of this template not applicable to your Pull Request. -->
### Description
Changes the default version number to version 2 to enchance privacy for the type of wallet used
Fixes #1676
### Changelog notice
- Changed the default transaction version number in the transaction builder.
- Updated the test to test for the default transaction number.
### Checklists
#### All Submissions:
* [x] I've signed all my commits
* [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
* [x] I ran `cargo fmt` and `cargo clippy` before committing
ACKs for top commit:
notmandatory:
ACK 2219b7c
Tree-SHA512: 76a2d394318eea94a99c033c3df14d64dbcf96c0f91dba91d2e337b9ecf78302af3d535ab11a74ed7372a521d3bc14c3455b7c8266d79d2995cc7c5da363b4263 files changed
+10
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1284 | 1284 | | |
1285 | 1285 | | |
1286 | 1286 | | |
1287 | | - | |
1288 | | - | |
| 1287 | + | |
| 1288 | + | |
1289 | 1289 | | |
1290 | 1290 | | |
1291 | | - | |
1292 | | - | |
1293 | | - | |
| 1291 | + | |
| 1292 | + | |
1294 | 1293 | | |
1295 | 1294 | | |
1296 | 1295 | | |
| |||
1388 | 1387 | | |
1389 | 1388 | | |
1390 | 1389 | | |
1391 | | - | |
| 1390 | + | |
1392 | 1391 | | |
1393 | 1392 | | |
1394 | 1393 | | |
| |||
1693 | 1692 | | |
1694 | 1693 | | |
1695 | 1694 | | |
1696 | | - | |
| 1695 | + | |
1697 | 1696 | | |
1698 | 1697 | | |
1699 | 1698 | | |
| |||
2584 | 2583 | | |
2585 | 2584 | | |
2586 | 2585 | | |
2587 | | - | |
| 2586 | + | |
2588 | 2587 | | |
2589 | 2588 | | |
2590 | 2589 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | 799 | | |
812 | 800 | | |
813 | 801 | | |
| |||
1064 | 1052 | | |
1065 | 1053 | | |
1066 | 1054 | | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | 1055 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3531 | 3531 | | |
3532 | 3532 | | |
3533 | 3533 | | |
| 3534 | + | |
3534 | 3535 | | |
3535 | 3536 | | |
3536 | 3537 | | |
| |||
0 commit comments