mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
func: bugfix
- bugfix in func - vertseqno support in validator/collator/topsharddescr
This commit is contained in:
parent
29deff15c3
commit
f67f5d879b
10 changed files with 78 additions and 20 deletions
|
@ -556,7 +556,7 @@ class ConfigInfo : public Config, public ShardConfig {
|
|||
needAccountsRoot = 64,
|
||||
needPrevBlocks = 128
|
||||
};
|
||||
int vert_seqno{-1};
|
||||
ton::BlockSeqno vert_seqno{~0U};
|
||||
int global_id_{0};
|
||||
ton::UnixTime utime{0};
|
||||
ton::LogicalTime lt{0};
|
||||
|
@ -604,6 +604,9 @@ class ConfigInfo : public Config, public ShardConfig {
|
|||
Ref<vm::Cell> get_state_extra_root() const {
|
||||
return state_extra_root_;
|
||||
}
|
||||
ton::BlockSeqno get_vert_seqno() const {
|
||||
return vert_seqno;
|
||||
}
|
||||
ton::CatchainSeqno get_shard_cc_seqno(ton::ShardIdFull shard) const;
|
||||
bool get_last_key_block(ton::BlockIdExt& blkid, ton::LogicalTime& blklt, bool strict = false) const;
|
||||
bool get_old_mc_block_id(ton::BlockSeqno seqno, ton::BlockIdExt& blkid, ton::LogicalTime* end_lt = nullptr) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue