DummyClusterSpec

data class DummyClusterSpec(val clusterSize: Int, val compositeServiceIdentity: Boolean = false) : ClusterSpec

Only used for testing the notary communication path. Can be configured to act as a Raft (singular identity), or a BFT (composite key identity) notary service.

Constructors

Link copied to clipboard
constructor(clusterSize: Int, compositeServiceIdentity: Boolean = false)

Properties

Link copied to clipboard
open override val clusterSize: Int

The number of nodes within the cluster.

Link copied to clipboard

If true, the cluster will use a shared composite public key for the service identity, with individual private keys. If false, the same "singular" key pair will be shared by all replicas.