Driver Parameters
Builder for configuring a driver.
Constructors
Properties
TestCordapps that will be added to each node started by the DriverDSL.
The port allocation strategy to use for jvm debugging. Defaults to incremental.
The base directory node directories go into, defaults to "build/
A List of additional cordapp packages to scan for any cordapp code, e.g. contract verification code, flows and services. The calling package is automatically included in this list. If this is not desirable then use cordappsForAllNodes instead.
Whether to use in-memory H2 for new nodes rather then on-disk (the node starts quicker, however the data is not persisted between node restarts). Has no effect if node is configured in any way to use database other than H2.
The network parameters to be used by all the nodes. NetworkParameters.notaries must be empty as notaries are defined by notarySpecs.
Extra settings that need to be passed to the notary.
Specifies how long to wait to receive a notary handle. This waiting includes waiting for the notary to start. This can save time for tests which do not need to migrate from a blank schema.
The notaries advertised for this network. These nodes will be started automatically and will be available from DriverDSL.notaryHandles, and will be added automatically to the network parameters. Defaults to a simple validating notary.
The port allocation strategy to use for the messaging and the web server addresses. Defaults to incremental.
Whether to use a prebuilt H2 database schema or start from an empty schema.
Provides the default behaviour of whether new nodes should start inside this process or not. Note that this may be overridden in DriverDSL.startNode.
A Map of extra system properties which will be given to each new node. Defaults to empty.
If true the test clock will be used in Node.
If true, the nodes will not shut down automatically after executing the code in the driver DSL block. It will wait for them to be shut down externally instead.