corda / net.corda.testing.node / ClusterSpec

ClusterSpec

abstract class ClusterSpec

Abstract class specifying information about the consensus algorithm used for a cluster of nodes.

Types

Raft

data class Raft : ClusterSpec

A class representing the configuration of a raft consensus algorithm used for a cluster of nodes.

Constructors

<init>

ClusterSpec()

Abstract class specifying information about the consensus algorithm used for a cluster of nodes.

Properties

clusterSize

abstract val clusterSize: Int

The number of nodes within the cluster.

Inheritors

Raft

data class Raft : ClusterSpec

A class representing the configuration of a raft consensus algorithm used for a cluster of nodes.