mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
642ad31b41
This maintains a persistent list of wallets stored in settings that will automatically be loaded on startup. Being able to load a wallet automatically on startup will be more useful in the GUI when the option to create wallets is added in #15006, but it's reasonable to expose this feature by RPC as well.
12 lines
583 B
Markdown
12 lines
583 B
Markdown
Configuration
|
|
-------------
|
|
|
|
The `createwallet`, `loadwallet`, and `unloadwallet` RPCs now accept
|
|
`load_on_startup` options that modify bitcoin's dynamic configuration in
|
|
`\<datadir\>/settings.json`, and can add or remove a wallet from the list of
|
|
wallets automatically loaded at startup. Unless these options are explicitly
|
|
set to true or false, the load on startup wallet list is not modified, so this
|
|
change is backwards compatible.
|
|
|
|
In the future, the GUI will start updating the same startup wallet list as the
|
|
RPCs to automatically reopen wallets previously opened in the GUI.
|