data class MockNetworkNotarySpec
The spec for a notary which will used by the MockNetwork to automatically start a notary node. This notary will become part of the network parameters used by all the nodes.
MockNetworkNotarySpec(name: <ERROR CLASS>, validating: Boolean = true, className: String? = null) MockNetworkNotarySpec(name: <ERROR CLASS>, validating: Boolean = true)
The spec for a notary which will used by the MockNetwork to automatically start a notary node. This notary will become part of the network parameters used by all the nodes. |
var className: String?
String the optional name of a notary service class to load. If null, a builtin notary is loaded. |
|
val name: <ERROR CLASS>
The name of the notary node. |
|
val validating: Boolean
Boolean for whether the notary is validating or non-validating. |