zebra_node_services/
lib.rs

1//! The interfaces of some Zebra node services.
2
3pub mod constants;
4pub mod mempool;
5
6#[cfg(any(test, feature = "rpc-client"))]
7pub mod rpc_client;
8
9/// Error type alias to make working with tower traits easier.
10///
11/// Note: the 'static lifetime bound means that the *type* cannot have any
12/// non-'static lifetimes, (e.g., when a type contains a borrow and is
13/// parameterized by 'a), *not* that the object itself has 'static lifetime.
14pub type BoxError = Box<dyn std::error::Error + Send + Sync + 'static>;
15
16#[cfg(feature = "shielded-scan")]
17pub mod scan_service;