zebra-node-services 4.0.0

The interfaces of some Zebra node services
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The interfaces of some Zebra node services.

pub use zebra_chain::parameters::checkpoint::constants;
pub mod mempool;
pub mod service_traits;

#[cfg(any(test, feature = "rpc-client"))]
pub mod rpc_client;

/// Error type alias to make working with tower traits easier.
///
/// Note: the 'static lifetime bound means that the *type* cannot have any
/// non-'static lifetimes, (e.g., when a type contains a borrow and is
/// parameterized by 'a), *not* that the object itself has 'static lifetime.
pub type BoxError = Box<dyn std::error::Error + Send + Sync + 'static>;