All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.quorum.tessera.discovery.NetworkStore Maven / Gradle / Ivy

Go to download

Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.

There is a newer version: 24.4.2
Show newest version
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