com.quorum.tessera.discovery.DiscoveryHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tessera-partyinfo Show documentation
Show all versions of tessera-partyinfo Show documentation
Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.
package com.quorum.tessera.discovery;
import com.quorum.tessera.encryption.PublicKey;
import com.quorum.tessera.partyinfo.node.NodeInfo;
import java.util.ServiceLoader;
import java.util.Set;
public interface DiscoveryHelper {
void onCreate();
NodeInfo buildCurrent();
NodeInfo buildRemoteNodeInfo(PublicKey publicKey);
Set buildRemoteNodeInfos();
static DiscoveryHelper getInstance() {
return ServiceLoader.load(DiscoveryHelper.class).findFirst().get();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy