mirror of
https://github.com/corda/corda.git
synced 2025-06-15 05:38:14 +00:00
CORDA-1405 - Integration test for network parameter updates and improved logging (#2865)
(cherry picked from commit 620ba1e
)
Also updated the toString() of NetworkParameters and NetworkMap to be better formatted.
This commit is contained in:
committed by
Katelyn Baker
parent
f9e0742d69
commit
2729ada251
@ -28,7 +28,17 @@ data class NetworkMap(
|
||||
val nodeInfoHashes: List<SecureHash>,
|
||||
val networkParameterHash: SecureHash,
|
||||
val parametersUpdate: ParametersUpdate?
|
||||
)
|
||||
) {
|
||||
override fun toString(): String {
|
||||
return """NetworkMap {
|
||||
nodeInfoHashes {
|
||||
${nodeInfoHashes.joinToString("\n ")}
|
||||
}
|
||||
networkParameterHash=$networkParameterHash
|
||||
parametersUpdate=$parametersUpdate
|
||||
}"""
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Data class representing scheduled network parameters update.
|
||||
|
Reference in New Issue
Block a user