mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
More precise calculation of expected shard blocks in checkload (#1279)
* More precise calculation of expected shard blocks in checkload * Fix monte-carlo checkload
This commit is contained in:
parent
5920f800de
commit
603d1d14b9
6 changed files with 279 additions and 64 deletions
|
@ -4516,7 +4516,7 @@ bool Collator::create_mc_state_extra() {
|
|||
cc_updated = true;
|
||||
LOG(INFO) << "increased masterchain catchain seqno to " << val_info.catchain_seqno;
|
||||
}
|
||||
auto nodes = block::Config::do_compute_validator_set(ccvc, shard_, *cur_validators, now_, val_info.catchain_seqno);
|
||||
auto nodes = block::Config::do_compute_validator_set(ccvc, shard_, *cur_validators, val_info.catchain_seqno);
|
||||
LOG_CHECK(!nodes.empty()) << "validator node list in unpacked validator set is empty";
|
||||
|
||||
auto vlist_hash = block::compute_validator_set_hash(/* val_info.catchain_seqno */ 0, shard_, std::move(nodes));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue