Skip to content

Conversation

@bitcoinhodler
Copy link
Contributor

#23002 changed the default wallet type to descriptors, so this doc was out of date.

@fanquake fanquake added the Docs label Feb 7, 2022
@fanquake fanquake requested a review from achow101 February 7, 2022 06:03
Copy link
Contributor

@shaavan shaavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2a8cb26

I have checked that the default wallet_type is set to descriptor wallet after #23002.
The managing-wallets documentation is the first thing one would see if they intend to create a wallet, and I think it makes sense to update it along with the latest changes regarding the creation of wallets.
The wording used in this PR is concise and to the point while clearly intending the working of the RPC argument.

p.s.: I shall look through the codebase for other probable updates related to this PR.

Copy link
Contributor

@kristapsk kristapsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2a8cb26

@maflcko maflcko added this to the 23.0 milestone Feb 7, 2022
The following command, for example, creates a descriptor wallet. More information about this command may be found by running `bitcoin-cli help createwallet`.

```
$ bitcoin-cli -named createwallet wallet_name="wallet-01" descriptors=true
Copy link
Member

@Sjors Sjors Feb 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might as well drop descriptors=true from this example. That also removes the need for -named arguments: $ bitcoin-cli createwallet "wallet-01" (quotes can probably be dropped too)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took your advice except I left the quotes since "wallet-01" is quoted everywhere else in this doc.

```

The `descriptors` parameter can be omitted if the intention is to create a legacy wallet. For now, the default type is the legacy wallet, but that is expected to change in a future release.
The `descriptors` parameter can be set to false if the intention is to create a legacy wallet.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If anyone wants to to this, they can read the docs. So maybe just drop this paragraph.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Sjors

I tried to find information on creating a legacy wallet, but I couldn't easily find one other than this file.
If our goal is to discourage users from creating a new wallet as a legacy wallet, I think it makes to remove this line. However, if that's not our goal, I think this line shouldn't be removed.

This file is documentation on managing wallets. I don't think it's optimal not to mention how to create a legacy wallet in this file unless our goal is to make it challenging for the user to create a legacy wallet.

Copy link
Member

@Sjors Sjors Feb 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal is not to make it challenging. But this "chapter" is called "Backing Up and Restoring The Wallet". That seems the wrong context to discuss legacy wallets. Any distraction in an explanation of backups can cause users to think "oh it's complicated" and end up not making a backup.

@Sjors
Copy link
Member

Sjors commented Feb 7, 2022

Concept ACK for updating this.

@brunoerg
Copy link
Contributor

brunoerg commented Feb 8, 2022

Concept ACK

@RandyMcMillan
Copy link
Contributor

Concept ACK

Note: It may be useful to emphasize a few of these warnings.

Screen Shot 2022-02-07 at 7 21 44 PM

RandyMcMillan@9a31565

Github mutes the bold text but it has good contrast in a desktop markdown viewer.

@bitcoinhodler bitcoinhodler force-pushed the doc-fix-default-wallet branch from 2a8cb26 to 8e9699c Compare February 9, 2022 07:39
@bitcoinhodler
Copy link
Contributor Author

Note: It may be useful to emphasize a few of these warnings.

I don't disagree but it's a little beyond the scope of what I was trying to do in this PR.

@laanwj
Copy link
Member

laanwj commented Feb 9, 2022

p.s.: I shall look through the codebase for other probable updates related to this PR.

FWIW there's further occurences of descriptors=true in doc/multisig-tutorial.md.

Copy link
Member

@luke-jr luke-jr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better to leave the explicit descriptors=true around as long as the legacy-default versions are supported.

$ bitcoin-cli createwallet "wallet-01"
```

The `descriptors` parameter can be omitted if the intention is to create a legacy wallet. For now, the default type is the legacy wallet, but that is expected to change in a future release.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK removing this one line

@shaavan
Copy link
Contributor

shaavan commented Feb 14, 2022

FWIW there's further occurences of descriptors=true in doc/multisig-tutorial.md.

I looked through it, and I think removing the descriptors=true in this documentation would be the right way forward.
@bitcoinhodler, this change seems related to this PR. You could probably consider including them here.

@laanwj
Copy link
Member

laanwj commented Feb 14, 2022

Probably better to leave the explicit descriptors=true around as long as the legacy-default versions are supported.

I don't think this matters. Documentation on the master branch refers only to the code on the master branch.

@achow101
Copy link
Member

ACK 8e9699c

@achow101 achow101 merged commit 3a618c1 into bitcoin:master Feb 17, 2022
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 18, 2022
@bitcoinhodler bitcoinhodler deleted the doc-fix-default-wallet branch February 19, 2022 17:34
achow101 added a commit to bitcoin-core/gui that referenced this pull request Mar 16, 2022
…riptor wallet by default

5347c97 doc: update multisig-tutorial.md to default wallet type (Jon Atack)

Pull request description:

  Follow-up to #24281 and bitcoin/bitcoin#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
@bitcoin bitcoin locked and limited conversation to collaborators Feb 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.