Skip to content

Commit

Permalink
Clarify topic creation
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin committed Jan 24, 2024
1 parent 6c897b5 commit e852521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/join-dal-baker/run-dal-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ 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 and layer 1 assigns that data's shards to two bakers, there are two topics on the Gossipsub network: one for slot 1 shards for baker A and one for slot 1 shards for baker B.
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.

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

0 comments on commit e852521

Please sign in to comment.