mirror of
https://github.com/corda/corda.git
synced 2025-01-30 08:04:16 +00:00
Maintain API stability for MockNetworkNotarySpec constructor
This commit is contained in:
parent
100457afc0
commit
164079e3a2
@ -125,9 +125,7 @@ data class MockNetworkParameters(
|
||||
* @property validating Boolean for whether the notary is validating or non-validating.
|
||||
* @property className String the optional name of a notary service class to load. If null, a builtin notary is loaded.
|
||||
*/
|
||||
data class MockNetworkNotarySpec(val name: CordaX500Name, val validating: Boolean = true, val className: String? = null) {
|
||||
constructor(name: CordaX500Name) : this(name, validating = true)
|
||||
}
|
||||
data class MockNetworkNotarySpec @JvmOverloads constructor(val name: CordaX500Name, val validating: Boolean = true, val className: String? = null)
|
||||
|
||||
/** A class that represents an unstarted mock node for testing. */
|
||||
class UnstartedMockNode private constructor(private val node: InternalMockNetwork.MockNode) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user