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

slightly changed block format

- small change in block format
- added config in blockchain explorer
- bugfixes
This commit is contained in:
ton 2019-11-28 18:44:14 +04:00
parent 7f3a22a217
commit 090e0c16eb
82 changed files with 1852 additions and 391 deletions

View file

@ -53,6 +53,14 @@ td::Ref<ValidatorSet> ConfigHolderQ::get_validator_set(ShardIdFull shard, UnixTi
return Ref<ValidatorSetQ>{true, cc_seqno, shard, std::move(nodes)};
}
std::pair<UnixTime, UnixTime> ConfigHolderQ::get_validator_set_start_stop(int next) const {
if (!config_) {
LOG(ERROR) << "MasterchainStateQ::get_validator_set_start_stop() : no config";
return {};
}
return config_->get_validator_set_start_stop(next);
}
} // namespace validator
} // namespace ton