Search in sources :

Example 11 with Hash

use of com.swirlds.common.crypto.Hash in project hedera-services by hashgraph.

the class RecordStreamCmpTest method registerConstructables.

private void registerConstructables() throws ConstructableRegistryException {
    ConstructableRegistry.registerConstructable(new ClassConstructorPair(Hash.class, Hash::new));
    ConstructableRegistry.registerConstructable(new ClassConstructorPair(RecordStreamObject.class, RecordStreamObject::new));
}
Also used : RecordStreamObject(com.hedera.services.stream.RecordStreamObject) Hash(com.swirlds.common.crypto.Hash) ClassConstructorPair(com.swirlds.common.constructable.ClassConstructorPair)

Aggregations

Hash (com.swirlds.common.crypto.Hash)11 IOException (java.io.IOException)4 VirtualLeafRecord (com.swirlds.virtualmap.datasource.VirtualLeafRecord)3 Random (java.util.Random)3 ContractKey (com.hedera.services.state.virtual.ContractKey)2 ContractKeySerializer (com.hedera.services.state.virtual.ContractKeySerializer)2 ContractKeySupplier (com.hedera.services.state.virtual.ContractKeySupplier)2 ContractValue (com.hedera.services.state.virtual.ContractValue)2 ContractValueSupplier (com.hedera.services.state.virtual.ContractValueSupplier)2 ClassConstructorPair (com.swirlds.common.constructable.ClassConstructorPair)2 DigestType (com.swirlds.common.crypto.DigestType)2 ImmutableHash (com.swirlds.common.crypto.ImmutableHash)2 JasperDbBuilder (com.swirlds.jasperdb.JasperDbBuilder)2 VirtualDataSourceJasperDB (com.swirlds.jasperdb.VirtualDataSourceJasperDB)2 VirtualInternalRecordSerializer (com.swirlds.jasperdb.VirtualInternalRecordSerializer)2 VirtualLeafRecordSerializer (com.swirlds.jasperdb.VirtualLeafRecordSerializer)2 DataFileCommon (com.swirlds.jasperdb.files.DataFileCommon)2 VirtualDataSource (com.swirlds.virtualmap.datasource.VirtualDataSource)2 VirtualInternalRecord (com.swirlds.virtualmap.datasource.VirtualInternalRecord)2 File (java.io.File)2