| 239 | } |
| 240 | |
| 241 | void 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 | |
| 251 | void WalletInit::Flush() const |
| 252 | { |
nothing calls this directly
no test coverage detected