mirror of
https://github.com/corda/corda.git
synced 2025-05-20 17:32:52 +00:00
CORDA-267: Set a default name of Notary for the first node. (#417)
This commit is contained in:
parent
660e570b48
commit
e1bfa6c655
@ -22,7 +22,7 @@ class NodeTabView : Fragment() {
|
|||||||
private companion object : Component() {
|
private companion object : Component() {
|
||||||
const val textWidth = 200.0
|
const val textWidth = 200.0
|
||||||
const val numberWidth = 100.0
|
const val numberWidth = 100.0
|
||||||
const val maxNameLength = 10
|
const val maxNameLength = 15
|
||||||
|
|
||||||
val integerFormat = DecimalFormat()
|
val integerFormat = DecimalFormat()
|
||||||
val notNumber = "[^\\d]".toRegex()
|
val notNumber = "[^\\d]".toRegex()
|
||||||
@ -115,6 +115,7 @@ class NodeTabView : Fragment() {
|
|||||||
root.add(nodeConfigView)
|
root.add(nodeConfigView)
|
||||||
root.add(nodeTerminalView)
|
root.add(nodeTerminalView)
|
||||||
|
|
||||||
|
model.legalName.value = if (nodeController.hasNetworkMap()) "" else "Notary"
|
||||||
model.p2pPort.value = nodeController.nextPort
|
model.p2pPort.value = nodeController.nextPort
|
||||||
model.rpcPort.value = nodeController.nextPort
|
model.rpcPort.value = nodeController.nextPort
|
||||||
model.webPort.value = nodeController.nextPort
|
model.webPort.value = nodeController.nextPort
|
||||||
|
Loading…
x
Reference in New Issue
Block a user