Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Closed
Prev Previous commit
Next Next commit
Update the preamble for Router.
  • Loading branch information
pepyakin committed Jul 14, 2020
commit 3fff854a4c18255f8fec84eb876327c79d6ed724
5 changes: 3 additions & 2 deletions roadmap/implementers-guide/src/runtime/router.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Router Module

The Router module is responsible for storing and dispatching Upward and Downward messages from and to parachains respectively. It is intended to later handle the XCMP logic as well.
The Router module is responsible for all messaging mechanisms supported between paras and the relay chain, specifically: UMP, DMP, HRMP and later XCMP.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it would be better to add a separate page for describing those in detail and linking this page here. As for now, I added those in the glossary.


For each enacted block the `queue_upward_messages` entry-point is called.
For checking the validity of message passing within a candidate the `ensure_processed_downward_messages` and `ensure_horizontal_messages_fit` routines are called.
When a candidate is enacted the `drain_downward_messages`, `queue_horizontal_messages` and `queue_upward_messages` are called.

## Storage

Expand Down