2020-04-14 05:31:55 +00:00
|
|
|
# Hello GossipSub
|
|
|
|
|
|
|
|
Playing around with GossipSub in Nim to check feasibility of moving over Waku to libp2p.
|
|
|
|
|
|
|
|
Let's start small:
|
|
|
|
- Node that broadcast message
|
|
|
|
- Node that receives it
|
2020-04-14 07:07:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Running
|
|
|
|
|
|
|
|
`nim c -r src/hello_gossipsub.nim`
|
2020-04-20 05:47:15 +00:00
|
|
|
|
2020-04-21 05:29:30 +00:00
|
|
|
Alt, Waku (imported):
|
|
|
|
|
|
|
|
```
|
|
|
|
make start_network quicksim
|
|
|
|
# ./build/start_network --topology:FullMesh --amount:6 --test-node-peers:2
|
|
|
|
./build/start_network
|
|
|
|
./build/quicksim
|
|
|
|
```
|
2020-04-20 05:47:15 +00:00
|
|
|
|
|
|
|
## What I want to do
|
|
|
|
|
|
|
|
Use Waku stuff from Nimbus here,
|
|
|
|
Get quicksim working
|
|
|
|
Then try to do similar with libp2p gossipsub
|
2020-04-21 05:29:56 +00:00
|
|
|
|
|
|
|
waku folder is Waku imported from Nimbus, not using right now (need to fix Nimbus links etc).
|