data class NotarySpec
A notary spec for describing a notary which will be started automatically by the driver and which will be part of the network parameters used by all the nodes.
NotarySpec(name: <ERROR CLASS>, validating: Boolean = true, rpcUsers: List<User> = emptyList(), verifierType: VerifierType = VerifierType.InMemory, cluster: ClusterSpec? = null) NotarySpec(name: <ERROR CLASS>, validating: Boolean = true, rpcUsers: List<User> = emptyList(), verifierType: VerifierType = VerifierType.InMemory, cluster: ClusterSpec? = null, maximumHeapSize: String) NotarySpec(name: <ERROR CLASS>, validating: Boolean = true, rpcUsers: List<User> = emptyList(), verifierType: VerifierType = VerifierType.InMemory, cluster: ClusterSpec? = null, maximumHeapSize: String = "512m", startInProcess: Boolean = true) NotarySpec(name: <ERROR CLASS>, validating: Boolean = true, rpcUsers: List<User> = emptyList(), verifierType: VerifierType = VerifierType.InMemory, cluster: ClusterSpec? = null, startInProcess: Boolean = true)
A notary spec for describing a notary which will be started automatically by the driver and which will be part of the network parameters used by all the nodes. |
val cluster: ClusterSpec?
ClusterSpec if this is a distributed cluster notary. If null then this is a single-node notary. |
|
var maximumHeapSize: String |
|
val name: <ERROR CLASS>
The name of the notary. If this is a notary cluster then each node member will be assigned a name based on this name. |
|
val rpcUsers: List<User>
A list of users able to instigate RPC for this node or cluster of nodes. |
|
val startInProcess: Boolean
Should the notary be started in process. |
|
val validating: Boolean
Boolean for whether the notary is validating or non-validating. |
|
val verifierType: VerifierType
How the notary will verify transactions. |
fun copy(name: <ERROR CLASS>, validating: Boolean = true, rpcUsers: List<User> = emptyList(), verifierType: VerifierType = VerifierType.InMemory, cluster: ClusterSpec? = null): NotarySpec |