mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Rename actual_min_split and soft_mis_split to avoid confusion
This commit is contained in:
parent
b8f347231f
commit
3265e397f2
8 changed files with 13 additions and 13 deletions
|
@ -511,15 +511,15 @@ bool MasterchainStateQ::check_old_mc_block_id(const ton::BlockIdExt& blkid, bool
|
|||
return config_ && config_->check_old_mc_block_id(blkid, strict);
|
||||
}
|
||||
|
||||
td::uint32 MasterchainStateQ::min_split_depth(WorkchainId workchain_id) const {
|
||||
td::uint32 MasterchainStateQ::monitor_min_split_depth(WorkchainId workchain_id) const {
|
||||
if (!config_) {
|
||||
return 0;
|
||||
}
|
||||
auto wc_info = config_->get_workchain_info(workchain_id);
|
||||
return wc_info.not_null() ? wc_info->actual_min_split : 0;
|
||||
return wc_info.not_null() ? wc_info->monitor_min_split : 0;
|
||||
}
|
||||
|
||||
td::uint32 MasterchainStateQ::soft_min_split_depth(WorkchainId workchain_id) const {
|
||||
td::uint32 MasterchainStateQ::min_split_depth(WorkchainId workchain_id) const {
|
||||
if (!config_) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -116,8 +116,8 @@ class MasterchainStateQ : public MasterchainState, public ShardStateQ {
|
|||
bool has_workchain(WorkchainId workchain) const {
|
||||
return config_ && config_->has_workchain(workchain);
|
||||
}
|
||||
td::uint32 monitor_min_split_depth(WorkchainId workchain_id) const override;
|
||||
td::uint32 min_split_depth(WorkchainId workchain_id) const override;
|
||||
td::uint32 soft_min_split_depth(WorkchainId workchain_id) const override;
|
||||
BlockSeqno min_ref_masterchain_seqno() const override;
|
||||
td::Status prepare() override;
|
||||
ZeroStateIdExt get_zerostate_id() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue