PoolInfoHandler
/// Get basic information about the transaction pool.
/// GET /v1/pool
pub struct PoolInfoHandler {
pub tx_pool: Weak<RwLock<pool::TransactionPool>>,
}
TxWrapper
struct TxWrapper {
tx_hex: String,
}
PoolPushHandler
/// Push new transaction to our local transaction pool.
/// POST /v1/pool/push
pub struct PoolPushHandler {
pub tx_pool: Weak<RwLock<pool::TransactionPool>>,
}