Bitcoin Core
22.99.0
P2P Digital Currency
src
wallet
load.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2010 Satoshi Nakamoto
2
// Copyright (c) 2009-2020 The Bitcoin Core developers
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef BITCOIN_WALLET_LOAD_H
7
#define BITCOIN_WALLET_LOAD_H
8
9
#include <string>
10
#include <vector>
11
12
class
ArgsManager
;
13
class
CScheduler
;
14
struct
WalletContext
;
15
16
namespace
interfaces
{
17
class
Chain;
18
}
// namespace interfaces
19
21
bool
VerifyWallets
(
WalletContext
& context);
22
24
bool
LoadWallets
(
WalletContext
& context);
25
27
void
StartWallets
(
WalletContext
& context,
CScheduler
& scheduler);
28
30
void
FlushWallets
(
WalletContext
& context);
31
33
void
StopWallets
(
WalletContext
& context);
34
36
void
UnloadWallets
(
WalletContext
& context);
37
38
#endif
// BITCOIN_WALLET_LOAD_H
ArgsManager
Definition:
system.h:159
CScheduler
Simple class for background tasks that should be run periodically or once "after a while".
Definition:
scheduler.h:34
FlushWallets
void FlushWallets(WalletContext &context)
Flush all wallets in preparation for shutdown.
Definition:
load.cpp:147
StopWallets
void StopWallets(WalletContext &context)
Stop all wallets. Wallets will be flushed first.
Definition:
load.cpp:154
StartWallets
void StartWallets(WalletContext &context, CScheduler &scheduler)
Complete startup of wallets.
Definition:
load.cpp:134
LoadWallets
bool LoadWallets(WalletContext &context)
Load wallet databases.
Definition:
load.cpp:98
VerifyWallets
bool VerifyWallets(WalletContext &context)
Responsible for reading and validating the -wallet arguments and verifying the wallet database.
Definition:
load.cpp:22
UnloadWallets
void UnloadWallets(WalletContext &context)
Close all wallets.
Definition:
load.cpp:161
interfaces
Definition:
dummywallet.cpp:11
WalletContext
WalletContext struct containing references to state shared between CWallet instances,...
Definition:
context.h:34
Generated on Mon Nov 8 2021 14:20:08 for Bitcoin Core by
1.9.2