1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Increase number of neighbours in BroadcastSimple::distribute

(make it consistent with BroadcastFec)
This commit is contained in:
SpyCheese 2022-08-04 23:21:55 +03:00
parent 5be10b1e6b
commit e5718c499f

View file

@ -68,7 +68,7 @@ td::Status BroadcastSimple::run_checks() {
td::Status BroadcastSimple::distribute() { td::Status BroadcastSimple::distribute() {
auto B = serialize(); auto B = serialize();
auto nodes = overlay_->get_neighbours(3); auto nodes = overlay_->get_neighbours(5);
auto manager = overlay_->overlay_manager(); auto manager = overlay_->overlay_manager();
for (auto &n : nodes) { for (auto &n : nodes) {