Skip to content

com.github.manosbatsis.corda.testacles.mocknetwork / NodeHandles / <init>

<init>

NodeHandles(network: MockNetwork, input:Map<String, StartedMockNode>)

ThemockNetwork‘s StartedMockNodes, each mapped by multiple keys:

  • the original input key
  • identity (Party)
  • identity name (CordaX500Name
  • identity name (string representation)
  • organization name
  • organization name with lower case first char, without spaces
  • organization name in lower case without spaces

In other words getNode["O=PartyA, L=Athens, C=GR"] is the same as getNode["partya"]