mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Configure shards for custom overlays
This commit is contained in:
parent
4fcb2cd576
commit
9dfa3fa11a
5 changed files with 48 additions and 33 deletions
|
@ -1229,6 +1229,12 @@ td::Status ShowCustomOverlaysQuery::receive(td::BufferSlice data) {
|
|||
: "")
|
||||
<< (node->block_sender_ ? " (block sender)" : "") << "\n";
|
||||
}
|
||||
if (!overlay->sender_shards_.empty()) {
|
||||
td::TerminalIO::out() << "Sender shards:\n";
|
||||
for (const auto &shard : overlay->sender_shards_) {
|
||||
td::TerminalIO::out() << " " << ton::create_shard_id(shard).to_str() << "\n";
|
||||
}
|
||||
}
|
||||
td::TerminalIO::out() << "\n";
|
||||
}
|
||||
return td::Status::OK();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue