Notary Spec
data class NotarySpec(val name: <Error class: unknown class>, val validating: Boolean = true, val rpcUsers: List<User> = emptyList(), val verifierType: VerifierType = VerifierType.InMemory, val cluster: ClusterSpec? = null, val 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.
Constructors
Link copied to clipboard
constructor(name: <Error class: unknown class>, validating: Boolean = true, rpcUsers: List<User> = emptyList(), verifierType: VerifierType = VerifierType.InMemory, cluster: ClusterSpec? = null)
constructor(name: <Error class: unknown class>, validating: Boolean = true, rpcUsers: List<User> = emptyList(), verifierType: VerifierType = VerifierType.InMemory, cluster: ClusterSpec? = null, maximumHeapSize: String)
constructor(name: <Error class: unknown class>, validating: Boolean = true, rpcUsers: List<User> = emptyList(), verifierType: VerifierType = VerifierType.InMemory, cluster: ClusterSpec? = null, maximumHeapSize: String = "512m", startInProcess: Boolean = true)
constructor(name: <Error class: unknown class>, validating: Boolean = true, rpcUsers: List<User> = emptyList(), verifierType: VerifierType = VerifierType.InMemory, cluster: ClusterSpec? = null, startInProcess: Boolean = true)
Properties
Link copied to clipboard
ClusterSpec if this is a distributed cluster notary. If null then this is a single-node notary.
Link copied to clipboard
Link copied to clipboard
Should the notary be started in process.
Link copied to clipboard
Boolean for whether the notary is validating or non-validating.
Link copied to clipboard
How the notary will verify transactions.
Functions
Link copied to clipboard
fun copy(name: <Error class: unknown class>, validating: Boolean = true, rpcUsers: List<User> = emptyList(), verifierType: VerifierType = VerifierType.InMemory, cluster: ClusterSpec? = null): NotarySpec