Search in sources :

Example 6 with PayloadDigest

use of com.quorum.tessera.enclave.PayloadDigest in project tessera by ConsenSys.

the class ResendManagerProvider method provider.

public static ResendManager provider() {
    LOGGER.debug("Creating EncryptedTransactionDAO");
    final EncryptedTransactionDAO encryptedTransactionDAO = EncryptedTransactionDAO.create();
    LOGGER.debug("Created EncryptedTransactionDAO {}", encryptedTransactionDAO);
    LOGGER.debug("Creating Enclave");
    final Enclave enclave = Enclave.create();
    LOGGER.debug("Created Enclave {}", enclave);
    PayloadDigest payloadDigest = PayloadDigest.create();
    return new ResendManagerImpl(encryptedTransactionDAO, enclave, payloadDigest);
}
Also used : Enclave(com.quorum.tessera.enclave.Enclave) PayloadDigest(com.quorum.tessera.enclave.PayloadDigest) EncryptedTransactionDAO(com.quorum.tessera.data.EncryptedTransactionDAO)

Aggregations

Enclave (com.quorum.tessera.enclave.Enclave)6 PayloadDigest (com.quorum.tessera.enclave.PayloadDigest)6 EncryptedTransactionDAO (com.quorum.tessera.data.EncryptedTransactionDAO)4 PrivacyHelper (com.quorum.tessera.transaction.PrivacyHelper)4 ResendManager (com.quorum.tessera.transaction.resend.ResendManager)3 Test (org.junit.Test)3 EncryptedRawTransactionDAO (com.quorum.tessera.data.EncryptedRawTransactionDAO)2 EncodedPayloadManager (com.quorum.tessera.transaction.EncodedPayloadManager)2 BatchPayloadPublisher (com.quorum.tessera.transaction.publish.BatchPayloadPublisher)2 PayloadPublisher (com.quorum.tessera.transaction.publish.PayloadPublisher)2 Config (com.quorum.tessera.config.Config)1 ConfigFactory (com.quorum.tessera.config.ConfigFactory)1 TransactionManager (com.quorum.tessera.transaction.TransactionManager)1