com.quorum.tessera.discovery.NetworkStore 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 java.util.ServiceLoader;
import java.util.stream.Stream;
public interface NetworkStore {
NetworkStore store(ActiveNode activeNode);
NetworkStore remove(NodeUri nodeUri);
Stream getActiveNodes();
static NetworkStore getInstance() {
return ServiceLoader.load(NetworkStore.class).findFirst().get();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy