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

Bugfix in processing message queues; improve out_msg_queue_cleanup

This commit is contained in:
SpyCheese 2023-07-06 11:44:21 +03:00
parent 5dd0c15d07
commit f10c7f54a8
5 changed files with 68 additions and 17 deletions

View file

@ -133,8 +133,8 @@ class Collator final : public td::actor::Actor {
std::unique_ptr<block::ConfigInfo> config_;
std::unique_ptr<block::ShardConfig> shard_conf_;
std::map<BlockSeqno, Ref<MasterchainStateQ>> aux_mc_states_;
std::vector<block::OutputQueueMerger::Neighbor> neighbor_queues_;
vm::Dictionary neighbor_msg_queues_limits_{32 + 64};
std::map<ShardIdFull, td::int32> neighbor_msg_queues_limits_;
vm::Dictionary neighbor_msg_queues_limits_dict_{32 + 64};
std::vector<block::McShardDescr> neighbors_;
std::unique_ptr<block::OutputQueueMerger> nb_out_msgs_;
std::vector<ton::StdSmcAddress> special_smcs;
@ -241,6 +241,7 @@ class Collator final : public td::actor::Actor {
bool register_shard_block_creators(std::vector<td::Bits256> creator_list);
bool init_block_limits();
bool compute_minted_amount(block::CurrencyCollection& to_mint);
bool create_output_queue_merger();
bool init_value_create();
bool try_collate();
bool do_preinit();