aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/load.h
Commit message (Collapse)AuthorAgeFilesLines
* Do not create default walletAndrew Chow2020-09-081-2/+2
| | | | | | | | | | | | | No longer create a default wallet. The default wallet will still be loaded if it exists and not other wallets were specified (anywhere, including settings.json, bitcoin.conf, and command line). Tests are updated to be started with -wallet= if they need the default wallet. Added test to wallet_startup.py testing that no default wallet is created and that it is loaded if it exists and no other wallets were specified.
* wallet: Reload previously loaded wallets on GUI startupAndrew Chow2020-09-011-6/+0
| | | | | | | | | | | Enable the GUI to also use the load_on_startup feature. Wallets loaded in the GUI always have load_on_startup=true. When they are unloaded from the GUI, load_on_startup=false. To facilitate this change, UpdateWalletSetting is moved into the wallet module and called from within LoadWallet, RemoveWallet, and Createwallet. This change does not actually touch the GUI code but rather the wallet functions that are shared between the GUI and RPC.
* Add loadwallet and createwallet RPC load_on_startup optionsRussell Yanofsky2020-08-131-0/+6
| | | | | | | 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.
* wallet: Pass unused args to StartWalletsMarcoFalke2020-07-091-1/+2
| | | | This refactor does not change behavior
* wallet: remove -salvagewalletAndrew Chow2020-05-251-2/+0
|
* wallet: Fix documentation around WalletParameterInteractionMarcoFalke2019-09-031-1/+1
|
* scripted-diff: Bump copyright headers in walletMarcoFalke2019-05-061-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./src/wallet/ -END VERIFY SCRIPT-
* [build] Move wallet load functions to wallet/load unitJohn Newbery2019-04-091-0/+38
Moves the following wallet load functions to a new wallet/load unit in the libbitcoin_wallet library. All other functions in wallet/init remain in libbitcoin_server: - `VerifyWallets` - `LoadWallets` - `StartWallets` - `FlushWallets` - `StopWallets` - `UnloadWallets`