cuprated/rpc/
request.rs

1//! Convenience functions for requests/responses.
2//!
3//! This module implements many methods for
4//! [`CupratedRpcHandler`](crate::rpc::CupratedRpcHandler)
5//! that are simple wrappers around the request/response API provided
6//! by the multiple [`tower::Service`]s.
7//!
8//! These exist to prevent noise like `unreachable!()`
9//! from being everywhere in the actual handler functions.
10//!
11//! Each module implements methods for a specific API, e.g.
12//! the [`blockchain`] modules contains methods for the
13//! blockchain database [`tower::Service`] API.
14
15mod address_book;
16mod blockchain;
17mod blockchain_context;
18mod blockchain_manager;
19mod txpool;