open fun startNotaryCluster(notaryName: String, clusterSize: Int, type: ServiceType, rpcUsers: List<User>): ListenableFuture<Pair<Party, List<NodeHandle>>>
Overrides DriverDSLExposedInterface.startNotaryCluster
Starts a distributed notary cluster.
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.
rpcUsers
- List of users who are authorised to use the RPC system. Defaults to empty list.
Return
The Party identity of the distributed notary service, and the NodeInfos of the notaries in the cluster.