net.corda.node.services.network / InMemoryNetworkMapCache / getAnyNotary

getAnyNotary

open fun getAnyNotary(type: ServiceType?): Party?
Overrides NetworkMapCache.getAnyNotary

Returns a notary identity advertised by any of the nodes on the network (chosen at random)

Parameters

type - Limits the result to notaries of the specified type (optional)