com.r3corda.node.internal.testing / MockNetwork / createNode

createNode

fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, start: Boolean = true, legalName: String? = null, keyPair: KeyPair? = null, vararg advertisedServices: ServiceType): MockNode

Returns a node, optionally created by the passed factory method.