use tetsy_util_mem as malloc_size_of;
#[cfg(feature = "bench" )]
pub mod verification;
#[cfg(not(feature = "bench" ))]
mod verification;
pub mod queue;
#[cfg(any(test, feature = "bench" ))]
pub mod test_helpers;
pub use self::verification::{FullFamilyParams, verify_block_family, verify_block_final};
pub use self::queue::{BlockQueue, Config as QueueConfig};
#[derive(Debug, PartialEq, Clone)]
pub enum VerifierType {
Canon,
CanonNoSeal,
}
impl VerifierType {
pub fn verifying_seal(&self) -> bool {
match *self {
VerifierType::Canon => true,
VerifierType::CanonNoSeal => false,
}
}
}