mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
liteclient signature check support
1. update liteclient/liteserver. Now liteserver sends signatures of blocks and liteclient checks them. I.e. liteclient completely checks received data. 2. validator-engine: more GC options 3. blockchain-explorer: show all block transactions (instead of 256) 4. some bugfixes
This commit is contained in:
parent
d8244eff53
commit
9d6853ef24
58 changed files with 1480 additions and 325 deletions
|
@ -83,6 +83,9 @@ class ActorInfoCreator {
|
|||
~ActorInfoCreator() {
|
||||
clear();
|
||||
}
|
||||
void ensure_empty() {
|
||||
pool_.for_each([](auto &actor_info) { LOG(ERROR) << actor_info.get_name(); });
|
||||
}
|
||||
|
||||
private:
|
||||
SharedObjectPool<ActorInfo> pool_;
|
||||
|
|
|
@ -282,6 +282,12 @@ void Scheduler::close_scheduler_group(SchedulerGroupInfo &group_info) {
|
|||
worker->actor_info_creator.clear();
|
||||
}
|
||||
}
|
||||
//for (auto &scheduler : group_info.schedulers) {
|
||||
//scheduler.io_worker->actor_info_creator.ensure_empty();
|
||||
//for (auto &worker : scheduler.cpu_workers) {
|
||||
//worker->actor_info_creator.ensure_empty();
|
||||
//}
|
||||
//}
|
||||
}
|
||||
} // namespace core
|
||||
} // namespace actor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue