zakura-consensus 5.0.0

Implementation of Zcash consensus checks for the Zakura node. Internal crate, published to support cargo install zakura
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Trait aliases for block verification Tower services.
//!
//! This trait provides a convenient alias for `tower::Service`
//! implementations that operate on Zebra block verification request and response types.
//!
//! - [`BlockVerifierService`]: for services that handle block verification requests.

use crate::router::Request;
use zakura_chain::block::Hash;
use zakura_node_services::service_traits::ZakuraService;

/// Trait alias for services handling block verification requests.
pub trait BlockVerifierService: ZakuraService<Request, Hash> {}

impl<T> BlockVerifierService for T where T: ZakuraService<Request, Hash> {}