cuprate_txpool/service/
types.rs1use cuprate_database::DbResult;
6use cuprate_database_service::{DatabaseReadService, DatabaseWriteHandle};
7
8use crate::service::interface::{
9 TxpoolReadRequest, TxpoolReadResponse, TxpoolWriteRequest, TxpoolWriteResponse,
10};
11
12pub(super) type ReadResponseResult = DbResult<TxpoolReadResponse>;
16
17pub type TxpoolWriteHandle = DatabaseWriteHandle<TxpoolWriteRequest, TxpoolWriteResponse>;
19
20pub type TxpoolReadHandle = DatabaseReadService<TxpoolReadRequest, TxpoolReadResponse>;