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
|
@ -60,7 +60,9 @@ struct CustomOverlayParams {
|
|||
std::vector<adnl::AdnlNodeIdShort> nodes_;
|
||||
std::map<adnl::AdnlNodeIdShort, int> msg_senders_;
|
||||
std::set<adnl::AdnlNodeIdShort> block_senders_;
|
||||
std::vector<ShardIdFull> sender_shards_;
|
||||
|
||||
bool send_shard(const ShardIdFull& shard) const;
|
||||
static CustomOverlayParams fetch(const ton_api::engine_validator_customOverlay& f);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue