mirror of
https://github.com/corda/corda.git
synced 2025-06-22 09:08:49 +00:00
RAFT notary demo refactoring (#629)
Specifically, make the IDE/driver and gradle/NodeRunner methods of launching the demo behave more similarly, with a view to configuring them the same way. * Add option to driver to nominate a node as network map, so that the driver-based demo doesn't run an additional node * Change gradle ports to match those chosen by driver
This commit is contained in:
@ -194,7 +194,7 @@ fun <A> rpcDriver(
|
||||
debugPortAllocation: PortAllocation = globalDebugPortAllocation,
|
||||
systemProperties: Map<String, String> = emptyMap(),
|
||||
useTestClock: Boolean = false,
|
||||
automaticallyStartNetworkMap: Boolean = false,
|
||||
networkMapStrategy: NetworkMapStrategy = FalseNetworkMap,
|
||||
dsl: RPCDriverExposedDSLInterface.() -> A
|
||||
) = genericDriver(
|
||||
driverDsl = RPCDriverDSL(
|
||||
@ -204,7 +204,7 @@ fun <A> rpcDriver(
|
||||
systemProperties = systemProperties,
|
||||
driverDirectory = driverDirectory.toAbsolutePath(),
|
||||
useTestClock = useTestClock,
|
||||
automaticallyStartNetworkMap = automaticallyStartNetworkMap,
|
||||
networkMapStrategy = networkMapStrategy,
|
||||
isDebug = isDebug
|
||||
)
|
||||
),
|
||||
|
Reference in New Issue
Block a user