import std/sequtils import pkg/chronos import pkg/libp2p import pkg/dagger/stores import pkg/dagger/blocktype as bt import ../examples proc generateNodes*( num: Natural, blocks: openArray[bt.Block] = [], secureManagers: openarray[SecureProtocol] = [ SecureProtocol.Noise, ]): seq[tuple[switch: Switch, blockexc: BlockExc]] = for i in 0..