mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Merge branch 'testnet' into accelerator
This commit is contained in:
commit
ed6788e579
113 changed files with 3450 additions and 420 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "common/refcnt.hpp"
|
||||
#include "interfaces/validator-manager.h"
|
||||
#include "interfaces/db.h"
|
||||
#include "td/actor/ActorStats.h"
|
||||
#include "td/actor/PromiseFuture.h"
|
||||
#include "td/utils/SharedSlice.h"
|
||||
#include "td/utils/buffer.h"
|
||||
|
@ -611,6 +612,8 @@ class ValidatorManagerImpl : public ValidatorManager {
|
|||
|
||||
void prepare_stats(td::Promise<std::vector<std::pair<std::string, std::string>>> promise) override;
|
||||
|
||||
void prepare_actor_stats(td::Promise<std::string> promise) override;
|
||||
|
||||
void prepare_perf_timer_stats(td::Promise<std::vector<PerfTimerStats>> promise) override;
|
||||
void add_perf_timer_stat(std::string name, double duration) override;
|
||||
|
||||
|
@ -716,6 +719,7 @@ class ValidatorManagerImpl : public ValidatorManager {
|
|||
private:
|
||||
std::unique_ptr<Callback> callback_;
|
||||
td::actor::ActorOwn<Db> db_;
|
||||
td::actor::ActorOwn<td::actor::ActorStats> actor_stats_;
|
||||
|
||||
bool started_ = false;
|
||||
bool allow_validate_ = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue