mirror of https://github.com/waku-org/nwaku.git
Use gossipsub
This commit is contained in:
parent
a8a1e39052
commit
26321ca0c9
|
@ -54,8 +54,8 @@ method initPubSub*(w: WakuSub) =
|
||||||
w.text = "Foobar"
|
w.text = "Foobar"
|
||||||
debug "w.text", text = w.text
|
debug "w.text", text = w.text
|
||||||
|
|
||||||
# Using FloodSub
|
# Using GossipSub
|
||||||
w.gossip_enabled = false
|
w.gossip_enabled = true
|
||||||
|
|
||||||
if w.gossip_enabled:
|
if w.gossip_enabled:
|
||||||
procCall GossipSub(w).initPubSub()
|
procCall GossipSub(w).initPubSub()
|
||||||
|
|
Loading…
Reference in New Issue