mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Collator: change deferring behavior when out queue size is big (#1135)
This commit is contained in:
parent
cb69f307e9
commit
e32a74e9c5
5 changed files with 43 additions and 5 deletions
|
@ -2531,6 +2531,14 @@ static td::Result<td::Ref<ton::validator::CollatorOptions>> parse_collator_optio
|
|||
} else {
|
||||
opts.dispatch_phase_3_max_per_initiator = {};
|
||||
}
|
||||
for (const std::string& s : f.whitelist_) {
|
||||
TRY_RESULT(addr, block::StdAddress::parse(s));
|
||||
opts.whitelist.emplace(addr.workchain, addr.addr);
|
||||
}
|
||||
for (const std::string& s : f.prioritylist_) {
|
||||
TRY_RESULT(addr, block::StdAddress::parse(s));
|
||||
opts.prioritylist.emplace(addr.workchain, addr.addr);
|
||||
}
|
||||
|
||||
return ref;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue