mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Accelerator, part 1 (#1119)
This commit contains some parts of https://github.com/ton-blockchain/ton/tree/accelerator This is auxiliary code that mostly does not change node behavior. 1) Semiprivate overlays and other improvements in overlays code 2) Rename actual_min_split -> monitor_min_split, fix building shard overlays 3) Loading block candidates by block id from DB, fix accept_block after validator restart 4) Cells: ProofStorageStat and changes in CellUsageTree 5) Remove some unused code, other minor changes
This commit is contained in:
parent
9a10f79fba
commit
908415d00b
66 changed files with 2221 additions and 638 deletions
|
@ -70,14 +70,15 @@ class MasterchainState : virtual public ShardState {
|
|||
virtual std::vector<td::Ref<McShardHash>> get_shards() const = 0;
|
||||
virtual td::Ref<McShardHash> get_shard_from_config(ShardIdFull shard) const = 0;
|
||||
virtual bool workchain_is_active(WorkchainId workchain_id) const = 0;
|
||||
virtual td::uint32 monitor_min_split_depth(WorkchainId workchain_id) const = 0;
|
||||
virtual td::uint32 min_split_depth(WorkchainId workchain_id) const = 0;
|
||||
virtual td::uint32 soft_min_split_depth(WorkchainId workchain_id) const = 0;
|
||||
virtual BlockSeqno min_ref_masterchain_seqno() const = 0;
|
||||
virtual bool ancestor_is_valid(BlockIdExt id) const = 0;
|
||||
virtual ValidatorSessionConfig get_consensus_config() const = 0;
|
||||
virtual BlockIdExt last_key_block_id() const = 0;
|
||||
virtual BlockIdExt next_key_block_id(BlockSeqno seqno) const = 0;
|
||||
virtual BlockIdExt prev_key_block_id(BlockSeqno seqno) const = 0;
|
||||
virtual bool is_key_state() const = 0;
|
||||
virtual bool get_old_mc_block_id(ton::BlockSeqno seqno, ton::BlockIdExt& blkid,
|
||||
ton::LogicalTime* end_lt = nullptr) const = 0;
|
||||
virtual bool check_old_mc_block_id(const ton::BlockIdExt& blkid, bool strict = false) const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue