| 87 | } |
| 88 | |
| 89 | void TonlibWrapper::init_actor() { |
| 90 | if (!impl_) { |
| 91 | impl_ = std::make_shared<TonlibClientImpl>(); |
| 92 | impl_->actor_ = td::actor::create_actor<TonlibClientWrapperActor>("TonlibClientWrapper"); |
| 93 | } |
| 94 | } |
| 95 | td::StringBuilder &operator<<(td::StringBuilder &sb, const TonlibWrapper::SyncInfo &info) { |
| 96 | sb << "{blockchain_ts=" << info.last_synced_ts << " (" |
| 97 | << date::format("%F %T", std::chrono::system_clock::time_point{std::chrono::seconds{info.last_synced_ts}}) |
nothing calls this directly
no outgoing calls
no test coverage detected