Skip to content

Commit

Permalink
Clarify with help from Francois
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin committed Jan 24, 2024
1 parent e852521 commit 125ced5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials/join-dal-baker/run-dal-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ This, too, may take some time to launch the first time because it needs to gener
The DAL node connects to the DAL network but it is not yet receiving shards.

DAL nodes share shards and information about them over a peer-to-peer pub/sub network built on the Gossipsub protocol.
As layer 1 assigns shards to the bakers, the Gossipsub network creates topics that DAL nodes can subscribe to.
For example, if a user submits data to slot 1, layer 1 creates a list of topics: a topic for the slot 1 shards assigned to baker A, a topic for the slot 1 shards assigned to baker B, and so on for all the bakers that are assigned shards from slot 1.
As layer 1 assigns shards to the bakers, the Gossipsub network manages topics that DAL nodes can subscribe to.
For example, if a user submits data to slot 1, the network has a list of topics: a topic to identify the slot 1 shards assigned to baker A, a topic to identify the slot 1 shards assigned to baker B, and so on for all the bakers that are assigned shards from slot 1.

The baker daemon automatically asks the DAL node to subscribe to the topics that provide the shards that it is assigned to.
Then, the baker daemon automatically asks the DAL node to subscribe to the topic that provides the shards that it is assigned to.
You can see the topics that the DAL node is subscribed to by running this RPC call:

```bash
Expand Down

0 comments on commit 125ced5

Please sign in to comment.