go-waku/examples/peer_events
Richard Ramos 4ce04014d1 fix: make resume optional and trigger connect/disconnect when dialing a peer or dropping it 2021-09-23 17:38:08 +03:00
..
Makefile Add peer connectivity notifications 2021-06-29 16:35:01 +03:00
README.md Add peer connectivity notifications 2021-06-29 16:35:01 +03:00
go.mod Use sender timestamp for retrieving messages from store 2021-07-11 14:11:38 -04:00
go.sum Use keepAlive for Connectedness events 2021-09-23 17:38:08 +03:00
main.go fix: make resume optional and trigger connect/disconnect when dialing a peer or dropping it 2021-09-23 17:38:08 +03:00

README.md

Using the peer_events application

Background

The peer_events application is a basic example app that demonstrates how peer event handling works in go-waku

Preparation

make

Basic application usage

To start the peer_events application run the following from the project directory

./build/peer_events

The app will run the following nodes sequentially:

  • relayNode1 and relayNode2
  • relayNode2 is stopped, and relayNode3 is started
  • relayNode3 is stopped, and storeNode is started