corda / net.corda.testing.node / MockNetwork / nextNodeId

nextNodeId

val nextNodeId: Int

In a mock network, nodes have an incrementing integer ID. Real networks do not have this. Returns the next ID that will be used.