mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Extra shard overlay stats
This commit is contained in:
parent
8c4bc5b3f1
commit
da137fecf5
7 changed files with 62 additions and 4 deletions
|
@ -934,8 +934,18 @@ td::Status GetOverlaysStatsJsonQuery::receive(td::BufferSlice data) {
|
|||
|
||||
sb << " \"" << t->key_ << "\": \"" << t->value_ << "\"";
|
||||
}
|
||||
sb << "\n }\n";
|
||||
sb << "}\n";
|
||||
sb << "\n }";
|
||||
if (!s->extra_.empty()) {
|
||||
sb << ",\n \"extra\": ";
|
||||
for (char c : s->extra_) {
|
||||
if (c == '\n') {
|
||||
sb << "\n ";
|
||||
} else {
|
||||
sb << c;
|
||||
}
|
||||
}
|
||||
}
|
||||
sb << "\n}\n";
|
||||
}
|
||||
sb << "]\n";
|
||||
sb << std::flush;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue