Go to the source code of this file.
|
static std::vector< std::shared_ptr< CWallet > > vpwallets | GUARDED_BY (cs_wallets) |
|
bool | AddWalletSetting (interfaces::Chain &chain, const std::string &wallet_name) |
| Add wallet name to persistent configuration so it will be loaded on startup.
|
|
bool | RemoveWalletSetting (interfaces::Chain &chain, const std::string &wallet_name) |
| Remove wallet name from persistent configuration so it will not be loaded on startup.
|
|
static void | UpdateWalletSetting (interfaces::Chain &chain, const std::string &wallet_name, std::optional< bool > load_on_startup, std::vector< bilingual_str > &warnings) |
|
bool | AddWallet (const std::shared_ptr< CWallet > &wallet) |
|
bool | RemoveWallet (const std::shared_ptr< CWallet > &wallet, std::optional< bool > load_on_start, std::vector< bilingual_str > &warnings) |
|
bool | RemoveWallet (const std::shared_ptr< CWallet > &wallet, std::optional< bool > load_on_start) |
|
std::vector< std::shared_ptr< CWallet > > | GetWallets () |
|
std::shared_ptr< CWallet > | GetWallet (const std::string &name) |
|
std::unique_ptr< interfaces::Handler > | HandleLoadWallet (LoadWalletFn load_wallet) |
|
static std::set< std::string > g_loading_wallet_set | GUARDED_BY (g_loading_wallet_mutex) |
|
static std::set< std::string > g_unloading_wallet_set | GUARDED_BY (g_wallet_release_mutex) |
|
static void | ReleaseWallet (CWallet *wallet) |
|
void | UnloadWallet (std::shared_ptr< CWallet > &&wallet) |
| Explicitly unload and delete the wallet.
|
|
std::shared_ptr< CWallet > | LoadWallet (interfaces::Chain &chain, const std::string &name, std::optional< bool > load_on_start, const DatabaseOptions &options, DatabaseStatus &status, bilingual_str &error, std::vector< bilingual_str > &warnings) |
|
std::shared_ptr< CWallet > | CreateWallet (interfaces::Chain &chain, const std::string &name, std::optional< bool > load_on_start, const DatabaseOptions &options, DatabaseStatus &status, bilingual_str &error, std::vector< bilingual_str > &warnings) |
|
void | MaybeResendWalletTxs () |
| Called periodically by the schedule thread.
|
|
std::unique_ptr< WalletDatabase > | MakeWalletDatabase (const std::string &name, const DatabaseOptions &options, DatabaseStatus &status, bilingual_str &error_string) |
|
◆ AddWallet()
◆ AddWalletSetting()
Add wallet name to persistent configuration so it will be loaded on startup.
Definition at line 55 of file wallet.cpp.
◆ CreateWallet()
◆ GetWallet()
◆ GetWallets()
◆ GUARDED_BY() [1/3]
◆ GUARDED_BY() [2/3]
◆ GUARDED_BY() [3/3]
◆ HandleLoadWallet()
◆ LoadWallet()
◆ MakeWalletDatabase()
◆ MaybeResendWalletTxs()
void MaybeResendWalletTxs |
( |
| ) |
|
Called periodically by the schedule thread.
Prompts individual wallets to resend their transactions. Actual rebroadcast schedule is managed by the wallets themselves.
Definition at line 1991 of file wallet.cpp.
◆ ReleaseWallet()
◆ RemoveWallet() [1/2]
◆ RemoveWallet() [2/2]
◆ RemoveWalletSetting()
Remove wallet name from persistent configuration so it will not be loaded on startup.
Definition at line 70 of file wallet.cpp.
◆ UnloadWallet()
Explicitly unload and delete the wallet.
Blocks the current thread after signaling the unload intent so that all wallet clients release the wallet. Note that, when blocking is not required, the wallet is implicitly unloaded by the shared pointer deleter.
Definition at line 202 of file wallet.cpp.
◆ UpdateWalletSetting()
◆ cs_wallets
◆ g_loading_wallet_mutex
◆ g_wallet_release_cv
◆ g_wallet_release_mutex
◆ WALLET_FLAG_CAVEATS
Initial value:{
"You need to rescan the blockchain in order to correctly mark used "
"destinations in the past. Until this is done, some destinations may "
"be considered unused, even if the opposite is the case."},
}
@ WALLET_FLAG_AVOID_REUSE
Definition at line 44 of file wallet.cpp.