net.corda.node.driver / DriverDSLExposedInterface / startNotaryCluster

startNotaryCluster

abstract fun startNotaryCluster(notaryName: String, clusterSize: Int = 3, type: ServiceType = RaftValidatingNotaryService.type): Unit

Starts a distributed notary cluster.

Parameters

notaryName - The legal name of the advertised distributed notary service.

clusterSize - Number of nodes to create for the cluster.

type - The advertised notary service type. Currently the only supported type is RaftValidatingNotaryService.type.