corda / net.corda.testing.node / MockNetNotaryConfig

MockNetNotaryConfig

class MockNetNotaryConfig

MockNetNotaryConfig can be used to configure a node to be a notary via the mock network API. Internally this will be translated into a NotaryConfiguration and passed to the respective node.

Constructors

<init>

MockNetNotaryConfig(validating: Boolean, extraConfig: Config? = null, className: String? = null, serviceLegalName: CordaX500Name? = null)

MockNetNotaryConfig can be used to configure a node to be a notary via the mock network API. Internally this will be translated into a NotaryConfiguration and passed to the respective node.

Properties

className

val className: String?

extraConfig

val extraConfig: Config?

serviceLegalName

val serviceLegalName: CordaX500Name?

validating

val validating: Boolean

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

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