MCPcopy Create free account
hub / github.com/ElementsProject/elements / NotifyWalletLoaded

Function NotifyWalletLoaded

src/wallet/wallet.cpp:180–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void NotifyWalletLoaded(WalletContext& context, const std::shared_ptr<CWallet>& wallet)
181{
182 LOCK(context.wallets_mutex);
183 for (auto& load_wallet : context.wallet_load_fns) {
184 load_wallet(interfaces::MakeWallet(context, wallet));
185 }
186}
187
188static Mutex g_loading_wallet_mutex;
189static Mutex g_wallet_release_mutex;

Callers 4

LoadWalletInternalFunction · 0.85
CreateWalletFunction · 0.85
LoadWalletsFunction · 0.85
TestLoadWalletFunction · 0.85

Calls 1

MakeWalletFunction · 0.70

Tested by 1

TestLoadWalletFunction · 0.68