corda / net.corda.testing.node / MockNetworkNotarySpec

MockNetworkNotarySpec

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.

Constructors

<init>

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.

Properties

className

var className: String?

String the optional name of a notary service class to load. If null, a builtin notary is loaded.

name

val name: <ERROR CLASS>

The name of the notary node.

validating

val validating: Boolean

Boolean for whether the notary is validating or non-validating.