mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Remove unused priority_broadcast_receivers
This commit is contained in:
parent
747b24aa18
commit
e575d27302
17 changed files with 16 additions and 124 deletions
|
|
@ -124,10 +124,6 @@ void FullNodeShardImpl::create_overlay() {
|
|||
if (cert_) {
|
||||
td::actor::send_closure(overlays_, &overlay::Overlays::update_certificate, adnl_id_, overlay_id_, local_id_, cert_);
|
||||
}
|
||||
if (!collator_nodes_.empty()) {
|
||||
td::actor::send_closure(overlays_, &overlay::Overlays::set_priority_broadcast_receivers, adnl_id_, overlay_id_,
|
||||
collator_nodes_);
|
||||
}
|
||||
}
|
||||
|
||||
void FullNodeShardImpl::check_broadcast(PublicKeyHash src, td::BufferSlice broadcast, td::Promise<td::Unit> promise) {
|
||||
|
|
@ -1141,15 +1137,6 @@ void FullNodeShardImpl::update_validators(std::vector<PublicKeyHash> public_key_
|
|||
}
|
||||
}
|
||||
|
||||
void FullNodeShardImpl::update_collators(std::vector<adnl::AdnlNodeIdShort> nodes) {
|
||||
if (!client_.empty()) {
|
||||
return;
|
||||
}
|
||||
collator_nodes_ = std::move(nodes);
|
||||
td::actor::send_closure(overlays_, &overlay::Overlays::set_priority_broadcast_receivers, adnl_id_, overlay_id_,
|
||||
collator_nodes_);
|
||||
}
|
||||
|
||||
void FullNodeShardImpl::reload_neighbours() {
|
||||
auto P = td::PromiseCreator::lambda([SelfId = actor_id(this)](td::Result<std::vector<adnl::AdnlNodeIdShort>> R) {
|
||||
if (R.is_error()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue