Skip to content

Commit 3a618c1

Browse files
committed
Merge bitcoin#24281: docs: Update to match new default wallet type
8e9699c Update doc to match new default wallet type (Bitcoin Hodler) Pull request description: bitcoin#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
2 parents edc0d32 + 8e9699c commit 3a618c1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/managing-wallets.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ In the GUI, the `Create a new wallet` button is displayed on the main screen whe
1212
The following command, for example, creates a descriptor wallet. More information about this command may be found by running `bitcoin-cli help createwallet`.
1313

1414
```
15-
$ bitcoin-cli -named createwallet wallet_name="wallet-01" descriptors=true
15+
$ bitcoin-cli createwallet "wallet-01"
1616
```
1717

18-
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.
19-
2018
By default, wallets are created in the `wallets` folder of the data directory, which varies by operating system, as shown below. The user can change the default by using the `-datadir` or `-walletdir` initialization parameters.
2119

2220
| Operating System | Default wallet directory |
@@ -54,7 +52,7 @@ Only the wallet's private key is encrypted. All other wallet information, such a
5452
The wallet's private key can also be encrypted in the `createwallet` command via the `passphrase` argument:
5553

5654
```
57-
$ bitcoin-cli -named createwallet wallet_name="wallet-01" descriptors=true passphrase="passphrase"
55+
$ bitcoin-cli -named createwallet wallet_name="wallet-01" passphrase="passphrase"
5856
```
5957

6058
Note that if the passphrase is lost, all the coins in the wallet will also be lost forever.

0 commit comments

Comments
 (0)