corda / net.corda.testing.node / MockNodeConfigOverrides

MockNodeConfigOverrides

class MockNodeConfigOverrides

This is a data class to configure overrides to the node configuration used in the mock network without having to expose/use the actual (internal) node configuration interface on the API. When passing one of these to createNode or createUnstartedNode functions, the bits that are set will be injected into the node configuration for the node to be created.

Constructors

<init>

This is a data class to configure overrides to the node configuration used in the mock network without having to expose/use the actual (internal) node configuration interface on the API. When passing one of these to createNode or createUnstartedNode functions, the bits that are set will be injected into the node configuration for the node to be created.

MockNodeConfigOverrides(extraDataSourceProperties: Map<String, String>? = null, notary: MockNetNotaryConfig? = null, flowTimeout: MockNetFlowTimeOut? = null)

Properties

extraDataSourceProperties

val extraDataSourceProperties: Map<String, String>?

flowTimeout

val flowTimeout: MockNetFlowTimeOut?

notary

val notary: MockNetNotaryConfig?