mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
More overlay stats
This commit is contained in:
parent
70322f58c1
commit
a14490637a
4 changed files with 27 additions and 6 deletions
|
|
@ -726,6 +726,10 @@ void OverlayImpl::get_stats(td::Promise<tl_object_ptr<ton_api::engine_validator_
|
|||
node_obj->bdcst_errors_ = peer.broadcast_errors;
|
||||
node_obj->fec_bdcst_errors_ = peer.fec_broadcast_errors;
|
||||
|
||||
node_obj->is_neighbour_ = peer.is_neighbour();
|
||||
node_obj->is_alive_ = peer.is_alive();
|
||||
node_obj->node_flags_ = peer.get_node()->flags();
|
||||
|
||||
res->nodes_.push_back(std::move(node_obj));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue