mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Prepare transition between old and new private overlays
This commit is contained in:
parent
86d3ed97c1
commit
c129a784c6
6 changed files with 61 additions and 42 deletions
|
@ -504,6 +504,10 @@ void ValidatorManagerImpl::new_block_candidate(BlockIdExt block_id, td::BufferSl
|
|||
if (!started_) {
|
||||
return;
|
||||
}
|
||||
if (!need_monitor(block_id.shard_full())) {
|
||||
VLOG(VALIDATOR_DEBUG) << "dropping block candidate broadcast: not monitoring shard";
|
||||
return;
|
||||
}
|
||||
add_cached_block_candidate(ReceivedBlock{block_id, std::move(data)});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue