1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-13 11:42:18 +00:00
ton/crypto/block
EmelyanenkoK 0daee1d887
Merge message dispatch queue (#1030)
* Deferred messages and msg metadata

* Store out msg queue size in state

* Add checks for queue processing

1. Collator must process at least one message from AccountDispatchQueue (unless block is full)
2. The first message from a transaction is not counted, it cannot be deferred (unless AccountDispatchQueue is not empty)

* Return msg metadata from LS in listBlockTransactions[Ext]

* Enable new features by capabilities

* Changes in deferred messages

* Process deferred messages via new_msgs in collator
* Rework setting deferred_lt, bring back check_message_processing_order, check order of deferred_lt in validator

* Use have_unprocessed_account_dispatch_queue_ in collator

* Fix setting transaction lt for deferred messages

* Fix lite-client compilation error

* Changes in process_dispatch_queue, rename deferred_lt -> emitted_lt

* Fix compilation error

* Use uint64 for msg queue size

* Add liteServer.getBlockOutMsgQueueSize

* Fix compilation error

* Fix typos in comments

---------

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-06-27 16:12:23 +03:00
..
precompiled-smc Add infrastructure for precompiled smartcontracts (#927) 2024-03-05 16:54:49 +03:00
adjust-block.cpp Automatically integrates git build information into executables. 2021-02-27 14:34:43 +03:00
Binlog.cpp bugfixes 2020-04-10 23:06:01 +04:00
Binlog.h bugfixes 2020-04-10 23:06:01 +04:00
block-binlog.h bugfixes 2020-04-10 23:06:01 +04:00
block-db-impl.h bugfixes 2020-04-10 23:06:01 +04:00
block-db.cpp Fix typos, UBs and warnings (#625) 2023-02-28 12:06:09 +03:00
block-db.h bugfixes 2020-04-10 23:06:01 +04:00
block-parse.cpp Merge message dispatch queue (#1030) 2024-06-27 16:12:23 +03:00
block-parse.h Merge message dispatch queue (#1030) 2024-06-27 16:12:23 +03:00
block.cpp Merge message dispatch queue (#1030) 2024-06-27 16:12:23 +03:00
block.h Merge message dispatch queue (#1030) 2024-06-27 16:12:23 +03:00
block.tlb Merge message dispatch queue (#1030) 2024-06-27 16:12:23 +03:00
check-proof.cpp Add method listBlockTransactionsExt to liteserver (#399) 2023-03-07 19:49:25 +03:00
check-proof.h Add method listBlockTransactionsExt to liteserver (#399) 2023-03-07 19:49:25 +03:00
create-state.cpp Change fift path separator for FIFTPATH and -I argument (#1014) 2024-06-07 18:50:11 +03:00
dump-block.cpp Automatically integrates git build information into executables. 2021-02-27 14:34:43 +03:00
mc-config.cpp Add infrastructure for precompiled smartcontracts (#927) 2024-03-05 16:54:49 +03:00
mc-config.h Add infrastructure for precompiled smartcontracts (#927) 2024-03-05 16:54:49 +03:00
output-queue-merger.cpp Improve handling outbound message queues (#825) 2023-12-13 12:57:34 +03:00
output-queue-merger.h Improve handling outbound message queues (#825) 2023-12-13 12:57:34 +03:00
test-block.cpp initial commit 2019-09-07 14:33:36 +04:00
test-weight-distr.cpp updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
transaction.cpp Merge message dispatch queue (#1030) 2024-06-27 16:12:23 +03:00
transaction.h Merge message dispatch queue (#1030) 2024-06-27 16:12:23 +03:00