com.r3corda.node.driver / DriverDSLExposedInterface / startNode

startNode

abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceType> = setOf()): Future<NodeInfo>

Starts a Node in a separate process.

Parameters

providedName - Optional name of the node, which will be its legal name in Party. Defaults to something random. Note that this must be unique as the driver uses it as a primary key

advertisedServices - The set of services to be advertised by the node. Defaults to empty set.

Return
The NodeInfo of the started up node retrieved from the network map service.