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)MockNetworkNotarySpec(name: CordaX500Name, 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

name

val name: CordaX500Name

The name of the notary node.

validating

val validating: Boolean

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

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.