Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge message dispatch queue #1030

Merged
merged 19 commits into from
Jun 27, 2024
Merged

Merge message dispatch queue #1030

merged 19 commits into from
Jun 27, 2024

Conversation

EmelyanenkoK
Copy link
Member

@EmelyanenkoK EmelyanenkoK commented Jun 21, 2024

This MR add additional intermediate queue between smart-contract and OutMsgQueue - the Dispatch Queue. This intermediate Queue will allow to schedule messages for processing in more distributed manner.
More details in https://github.com/ton-blockchain/TEPs/pull/160/files

@EmelyanenkoK EmelyanenkoK merged commit 0daee1d into testnet Jun 27, 2024
11 checks passed
@SpyCheese SpyCheese deleted the message-queue branch July 10, 2024 08:40
Copy link

@Kaytokraft Kaytokraft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

</ security ></fake airdrops >< no-bugs>protect-firewall-security></stoptrogens/security- Firewall>
Extra layer of security for new commers
As their the ones most vulnerable to fake airdrops

Paying gas fees and getting an nft that's not right
Phishing is the most common persistent offender

ice-charon pushed a commit to ice-blockchain/ion that referenced this pull request Sep 26, 2024
* 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants