mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Improve collator node pings and collation manager stats
This commit is contained in:
parent
5fae8db7a0
commit
923f1cd69b
8 changed files with 66 additions and 7 deletions
|
@ -65,6 +65,8 @@ class CollationManager : public td::actor::Actor {
|
|||
td::Timestamp ping_at = td::Timestamp::now();
|
||||
bool sent_ping = false;
|
||||
size_t active_cnt = 0;
|
||||
td::Timestamp last_ping_at = td::Timestamp::never();
|
||||
td::Status last_ping_status = td::Status::Error("not pinged");
|
||||
};
|
||||
std::map<adnl::AdnlNodeIdShort, CollatorInfo> collators_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue