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