The bootstrapper creates a new libp2p node, subscribes to the shared topic string, spawns a go routine to emit any publishes to that topic, and then waits forever.
The bootstrapper creates a new libp2p node, subscribes to the shared topic string, spawns a go routine to emit any publishes to that topic, and then waits forever.
@ -33,7 +33,7 @@ The bootstrapper creates a new libp2p node, subscribes to the shared topic strin
```
```
cd pubsub
cd pubsub
./pubsub-interop ../util/private_key.bin.peer.Sk
./raven ../util/private_key.bin.peer.Sk
```
```
This peer, which is not in bootstrapper mode, creates a node, subscribes to the shared topic string, spawns the same go routine, and then loops forever requesting user input and publishing each line to the topic.
This peer, which is not in bootstrapper mode, creates a node, subscribes to the shared topic string, spawns the same go routine, and then loops forever requesting user input and publishing each line to the topic.
@ -42,7 +42,7 @@ This peer, which is not in bootstrapper mode, creates a node, subscribes to the