MockNetworkNotarySpec - corda

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: CordaX500Name, validating: Boolean = true, className: String? = null)` 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: CordaX500Name, validating: Boolean = true)`

### Properties

#### className | String the optional name of a notary service class to load. If null, a builtin notary is loaded. `var className: String?`
#### name | The name of the notary node. `val name: CordaX500Name`
#### validating | Boolean for whether the notary is validating or non-validating. `val validating: Boolean`