diff options
author | John Newbery <john@johnnewbery.com> | 2019-04-02 17:11:26 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-04-09 17:53:08 -0400 |
commit | 9eaeb7fb8d4ab0d4493849e6c17e314fd75fea9c (patch) | |
tree | dfb23b946a85eecd6a59529bac0590f6de346a00 /src/wallet/wallet.h | |
parent | 91a25d1e711bfc0617027eee18b9777ff368d6b9 (diff) | |
download | bitcoin-9eaeb7fb8d4ab0d4493849e6c17e314fd75fea9c.tar.xz |
[build] Move wallet load functions to wallet/load unit
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`
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 587b2814c0..cefdf479c6 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -35,26 +35,6 @@ #include <utility> #include <vector> -//! Responsible for reading and validating the -wallet arguments and verifying the wallet database. -//! This function will perform salvage on the wallet if requested, as long as only one wallet is -//! being loaded (WalletParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet). -bool VerifyWallets(interfaces::Chain& chain, const std::vector<std::string>& wallet_files); - -//! Load wallet databases. -bool LoadWallets(interfaces::Chain& chain, const std::vector<std::string>& wallet_files); - -//! Complete startup of wallets. -void StartWallets(CScheduler& scheduler); - -//! Flush all wallets in preparation for shutdown. -void FlushWallets(); - -//! Stop all wallets. Wallets will be flushed first. -void StopWallets(); - -//! Close all wallets. -void UnloadWallets(); - //! Explicitly unload and delete the wallet. //! Blocks the current thread after signaling the unload intent so that all //! wallet clients release the wallet. |