Search in sources :

Example 1 with Sha256Hasher

use of com.radixdlt.consensus.Sha256Hasher in project radixdlt by radixdlt.

the class VerifiedVertexStoreStateCreationTest method setup.

@Before
public void setup() {
    this.genesisHash = HashUtils.zero256();
    this.genesisVertex = new VerifiedVertex(UnverifiedVertex.createGenesis(MOCKED_HEADER), genesisHash);
    this.hasher = new Sha256Hasher(DefaultSerialization.getInstance());
}
Also used : Sha256Hasher(com.radixdlt.consensus.Sha256Hasher) Before(org.junit.Before)

Aggregations

Sha256Hasher (com.radixdlt.consensus.Sha256Hasher)1 Before (org.junit.Before)1