You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, wallets could only be loaded at startup, by specifying `-wallet` parameters on the command line or in the bitcoin.conf file. It is now possible to load wallets dynamically at runtime by calling the `loadwallet` RPC.
4
+
Previously, wallets could only be loaded or created at startup, by specifying `-wallet` parameters on the command line or in the bitcoin.conf file. It is now possible to load and create wallets dynamically at runtime:
5
5
6
-
The wallet can be specified as file/directory basename (which must be located in the `walletdir` directory), or as an absolute path to a file/directory.
6
+
- Existing wallets can be loaded by calling the `loadwallet` RPC. The wallet can be specified as file/directory basename (which must be located in the `walletdir` directory), or as an absolute path to a file/directory.
7
+
- New wallets can be created (and loaded) by calling the `createwallet` RPC. The provided name must not match a wallet file in the `walletdir` directory or the name of a wallet that is currently loaded.
7
8
8
-
This feature is currently only available through the RPC interface. Wallets loaded in this way will display in the bitcoin-qt GUI.
9
+
This feature is currently only available through the RPC interface.
if (request.fHelp || request.params.size() != 1) {
3120
+
throwstd::runtime_error(
3121
+
"createwallet \"wallet_name\"\n"
3122
+
"\nCreates and loads a new wallet.\n"
3123
+
"\nArguments:\n"
3124
+
"1. \"wallet_name\" (string, required) The name for the new wallet. If this is a path, the wallet will be created at the path location.\n"
3125
+
"\nResult:\n"
3126
+
"{\n"
3127
+
"\"name\" : <wallet_name>, (string) The wallet name if created successfully. If the wallet was created using a full path, the wallet_name will be the full path.\n"
3128
+
"\"warning\" : <warning>, (string) Warning message if wallet was not loaded cleanly.\n"
0 commit comments