mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-01-30 15:32:14 +00:00
Move Equihash validator into zcash_primitives
This commit is contained in:
parent
ad33798244
commit
d78c94b2a2
@ -45,6 +45,7 @@ use std::ffi::OsString;
|
||||
use std::os::windows::ffi::OsStringExt;
|
||||
|
||||
use zcash_primitives::{
|
||||
block::equihash,
|
||||
merkle_tree::CommitmentTreeWitness,
|
||||
note_encryption::sapling_ka_agree,
|
||||
primitives::{Diversifier, Note, PaymentAddress, ProofGenerationKey, ViewingKey},
|
||||
@ -58,8 +59,6 @@ use zcash_proofs::{
|
||||
sapling::{SaplingProvingContext, SaplingVerificationContext},
|
||||
};
|
||||
|
||||
pub mod equihash;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
|
@ -6,6 +6,8 @@ use std::ops::Deref;
|
||||
|
||||
use crate::serialize::Vector;
|
||||
|
||||
pub mod equihash;
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||
pub struct BlockHash(pub [u8; 32]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user