Skip to content

Commit 97d975a

Browse files
committed
fixup! Announcesub spec
1 parent 2ec6902 commit 97d975a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pubsub/announcesub/announcesub-v1.0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ In the go implementation, the `seen` cache is provided by the pubsub framework a
148148

149149
## Topic Membership
150150

151-
In addition to the `SUBSCRIBE` / `UNSUBSCRIBE` events sent by the pubsub framework, gossipsub must do additional work to maintain the mesh for the topic it is joining or leaving. We will refer to the two topic membership operations below as `JOIN(topic)` and `LEAVE(topic)`.
151+
In addition to the `SUBSCRIBE` / `UNSUBSCRIBE` events sent by the pubsub framework, announcesub must do additional work to maintain the mesh for the topic it is joining or leaving. We will refer to the two topic membership operations below as `JOIN(topic)` and `LEAVE(topic)`.
152152

153153
When the application invokes `JOIN(topic)`, the router will form a topic mesh by selecting up to `D` peers from its [local peering state](#peering-state) first examining the `fanout` map. If there are peers in `fanout[topic]`, the router will move those peers from the `fanout` map to `mesh[topic]`. If the topic is not in the `fanout` map, or if `fanout[topic]` contains fewer than `D` peers, the router will attempt to fill `mesh[topic]` with peers from `peers.announcesub[topic]` which is the set of all announcesub-capable peers it is aware of that are members of the topic.
154154

@@ -158,9 +158,9 @@ The application can invoke `LEAVE(topic)` to unsubscribe from a topic. The route
158158

159159
## Control Messages
160160

161-
Control messages are exchanged to maintain topic meshes and emit gossip. This section lists the control messages in the core gossipsub protocol.
161+
Control messages are exchanged to maintain topic meshes and emit gossip. This section lists the control messages in the core announcesub protocol.
162162

163-
For details on how gossipsub routers respond to control messages, see [Message Processing](#message-processing).
163+
For details on how announcesub routers respond to control messages, see [Message Processing](#message-processing).
164164

165165
The [protobuf](https://developers.google.com/protocol-buffers) schema for control messages is detailed in the [Protobuf](#protobuf) section.
166166

0 commit comments

Comments
 (0)