SplitCompatibilityZoneParams

class SplitCompatibilityZoneParams(doormanURL: URL, networkMapURL: URL, pnm: UUID?, val publishNotaries: (List<NotaryInfo>) -> Unit, val rootCert: X509Certificate? = null) : CompatibilityZoneParams

Represent network management services, network map and doorman, running on different URLs

Constructors

Link copied to clipboard
constructor(doormanURL: URL, networkMapURL: URL, pnm: UUID?, publishNotaries: (List<NotaryInfo>) -> Unit, rootCert: X509Certificate? = null)

Properties

Link copied to clipboard
val config: <Error class: unknown class>
Link copied to clipboard

Hook for a network map server to capture the generated NotaryInfo objects needed for creating the network parameters. This is needed as the network map server is expected to distribute it. The callback will occur on a different thread to the driver-calling thread.

Link copied to clipboard

If specified then the nodes will register themselves with the doorman service using SharedCompatibilityZoneParams.url and expect the registration response to be rooted at this cert. If not specified then no registration is performed and the dev root cert is used as normal.

Functions

Link copied to clipboard
open override fun config(): <Error class: unknown class>
Link copied to clipboard
open override fun doormanURL(): URL
Link copied to clipboard
open override fun networkMapURL(): URL