mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-05-02 04:53:07 +00:00
Fix mesh bug indent
This commit is contained in:
parent
8a648a44aa
commit
063a57d583
@ -71,15 +71,14 @@ proc fullMeshNetwork(amount: int): seq[NodeInfo] =
|
|||||||
var staticnodes: seq[string]
|
var staticnodes: seq[string]
|
||||||
for item in result:
|
for item in result:
|
||||||
staticnodes.add(item.address)
|
staticnodes.add(item.address)
|
||||||
result.add(initNodeCmd(portOffset + i, staticnodes, label = "full node"))
|
result.add(initNodeCmd(portOffset + i, staticnodes, label = "full node"))
|
||||||
|
|
||||||
when isMainModule:
|
when isMainModule:
|
||||||
# TODO: WakuNetworkConf
|
# TODO: WakuNetworkConf
|
||||||
var nodes: seq[NodeInfo]
|
var nodes: seq[NodeInfo]
|
||||||
let topology = Star
|
let topology = FullMesh
|
||||||
let amount = 6
|
let amount = 6
|
||||||
|
|
||||||
# XXX: For some reason Mesh hangs with multitail
|
|
||||||
case topology:
|
case topology:
|
||||||
of Star:
|
of Star:
|
||||||
nodes = starNetwork(amount)
|
nodes = starNetwork(amount)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user