public static class NetworkMapCacheBase.DefaultImpls
Subset of interface NetworkMapCache
that doesn't depend on an interface IdentityService
.
@Nullable public static Party getPeerByLegalName(NetworkMapCacheBase $this, @NotNull CordaX500Name name)
Look up the well known identity of a legal name. This should be used in preference to well known identity lookup in the identity service where possible, as the network map is the authoritative source of well known identities.
@Nullable public static Party getNotary(NetworkMapCacheBase $this, @NotNull CordaX500Name name)
Look up a well known identity of notary by legal name.