MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / Start

Method Start

src/wallet/init.cpp:241–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241void WalletInit::Start(CScheduler& scheduler) const
242{
243 for (const std::shared_ptr<CWallet>& pwallet : GetWallets()) {
244 pwallet->postInitProcess();
245 }
246
247 // Run a thread to flush wallet periodically
248 scheduler.scheduleEvery(MaybeCompactWalletDB, 500);
249}
250
251void WalletInit::Flush() const
252{

Callers

nothing calls this directly

Calls 3

GetWalletsFunction · 0.85
postInitProcessMethod · 0.80
scheduleEveryMethod · 0.80

Tested by

no test coverage detected