async fn checker_routine(
        handle: Handle,
        mut input: mpsc::Receiver<VerifyTxSignatureRequest>,
        eth_watch_req: mpsc::Sender<EthWatchRequest>,
    ) {
        while let Some(request) = input.next().await {
            let eth_watch_req = eth_watch_req.clone();
            handle.spawn(async move {
                let resp = VerifiedTx::verify(&request, eth_watch_req).await;

                request.response.send(resp).unwrap_or_default();
            });
        }
    }
/// Main signature check requests handler.
/// Basically it receives the requests through the channel and verifies signatures,
/// notifying the request sender about the check result.
Main signature check requests handler.
Basically it receives the requests through the channel and verifies signatures,
notifying the request sender about the check result.
Main signature check requests handler . Basically it receives the requests through the channel and verifies signatures notifying the request sender about the check result .
async fn checker_routine(
        handle: Handle,
        mut input: mpsc::Receiver<VerifyTxSignatureRequest>,
        eth_watch_req: mpsc::Sender<EthWatchRequest>,
    ) {
        while let Some(request) = input.next().await {
            let eth_watch_req = eth_watch_req.clone();
            handle.spawn(async move {
                let resp = VerifiedTx::verify(&request, eth_watch_req).await;
                request.response.send(resp).unwrap_or_default();
            });
        }
    }
async fn checker_routine ( handle : Handle , mut input : mpsc :: Receiver < VerifyTxSignatureRequest > , eth_watch_req : mpsc :: Sender < EthWatchRequest > , ) { while let Some ( request ) = input . next ( ) . await { let eth_watch_req = eth_watch_req . clone ( ) ; handle . spawn ( async move { let resp = VerifiedTx :: verify ( & request , eth_watch_req ) . await ; request . response . send ( resp ) . unwrap_or_default ( ) ; } ) ; } }
Main signature check requests handler.
Main signature check requests handler .
handle
Handle
input
mpsc::Receiver<VerifyTxSignatureRequest>
eth_watch_req
mpsc::Sender<EthWatchRequest>