Make descriptor wallets by default#23002
Conversation
|
Concept ACK |
|
Concept ACK |
2 similar comments
|
Concept ACK |
|
Concept ACK |
723e860 to
71e0af8
Compare
71e0af8 to
9c1052a
Compare
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
| <property name="text"> | ||
| <string>Descriptor Wallet</string> | ||
| </property> | ||
| <property name="checked"> |
There was a problem hiding this comment.
maybe switch this around and have an unchecked "legacy wallet" option here instead?
There was a problem hiding this comment.
I think that may be a little confusing?
There was a problem hiding this comment.
I think there's something to be said for both options, but I think the current name is slightly better. It highlights what is new instead of what is old.
There was a problem hiding this comment.
I suppose you could have a tooltip text that explains in more detail, that there are "legacy wallets" and "descriptor wallets" and what is the difference from a user point of view.
darosior
left a comment
There was a problem hiding this comment.
Concept ACK. I've been using descriptor wallets in my application for a year without issue.
|
Concept ACK. Tested on Pop!_OS and had only one issue.
|
It is part of the wallet tool, |
You can test with the following command: |
|
Concept ACK |
meshcollider
left a comment
There was a problem hiding this comment.
Code review ACK 9c1052a
|
Concept ACK |
|
Concept ACK, but I'd like to see #22364 land first, so we have |
|
As long as #22364 lands before the next major release, it should be fine to merge this. Edit: Also, (experimental) descriptor wallets already exist, so this discussion seems unrelated to this pull request either way? |
|
Changing the default might need release notes, but this can be done later. |
9c1052a wallet: Default new wallets to descriptor wallets (Andrew Chow) f19ad40 rpc, wallet: Descriptor wallets are no longer experimental (Andrew Chow) Pull request description: Changes the default wallet type from legacy to descriptors. Descriptor wallets will now by the default type. Additionally, descriptor wallets will no longer be marked as experimental. This follows the timeline proposed in bitcoin#20160 ACKs for top commit: lsilva01: Tested ACK bitcoin@9c1052a on Ubuntu 20.04 prayank23: tACK bitcoin@9c1052a meshcollider: Code review ACK 9c1052a Tree-SHA512: 834e6fec88e0c18673af7ebe135bd5333694d1be502164eb93a90e3e76c27974165aa4e59426945100c88e4eca07356e16886ef5b05cf789683ecb23fc71a12a
| // If -legacy is set, use it. Otherwise default to false. | ||
| bool make_legacy = args.GetBoolArg("-legacy", false); | ||
| // If neither -legacy nor -descriptors is set, default to true. If -descriptors is set, use its value. | ||
| bool make_descriptors = (!args.IsArgSet("-descriptors") && !args.IsArgSet("-legacy")) || (args.IsArgSet("-descriptors") && args.GetBoolArg("-descriptors", true)); |
There was a problem hiding this comment.
This IsArgSet logic is very strange. Why is this not just:
bool make_descriptors = args.GetBoolArg("-descriptors", true);There was a problem hiding this comment.
To avoid setting it to true if -legacy is set.
Which changed in bitcoin#23002.
Which changed in bitcoin#23002.
8e9699c Update doc to match new default wallet type (Bitcoin Hodler) Pull request description: #23002 changed the default wallet type to descriptors, so this doc was out of date. ACKs for top commit: achow101: ACK 8e9699c Tree-SHA512: 2f69b23c153163bf2a091dbf728b713d28f795cc81e031bf201160882d2456494e94955ff6385634615fdcfece11542749ad1c982e2994e64ed69011380a2353
Which changed in bitcoin#23002.
because descriptors wallets are created by default since bitcoin#23002
…y default 5347c97 doc: update multisig-tutorial.md to default wallet type (Jon Atack) Pull request description: Follow-up to #24281 and #24281 (comment). The default wallet type was changed to descriptor wallets in #23002. ACKs for top commit: laanwj: ACK 5347c97 michaelfolkson: ACK 5347c97 achow101: ACK 5347c97 theStack: Concept and code-review ACK 5347c97 Tree-SHA512: 8074a33ad253ecb7d3f78645a00c808c7c224996cc1748067928aa59ef31a58f24fcfc75169494b26a19c7fbbf23bbd78516ab4102bc52fa92f08f1f49b18b63
|
This was part of 23.0 and got a release note. Removing "Needs release note". |

Changes the default wallet type from legacy to descriptors. Descriptor wallets will now by the default type. Additionally, descriptor wallets will no longer be marked as experimental.
This follows the timeline proposed in #20160