Function same_path_merger_task
Source async fn same_path_merger_task<P, N, DB>(
client: P,
stuffing_txes: Vec<Transaction>,
pre_states: Arc<RwLock<DataFetcher<TxHash, GethStateUpdate>>>,
market_state: SharedState<MarketState<DB>>,
call_opts: GethDebugTracingCallOptions,
request: SwapComposeData<DB>,
swap_request_tx: Broadcaster<MessageSwapCompose<DB>>,
) -> Result<()>where
N: Network<TransactionRequest = TransactionRequest>,
P: Provider<N> + DebugProviderExt<N> +
Send +
Sync +
Clone + 'static,
DB: Database<Error = KabuDBError> + DatabaseRef<Error = KabuDBError> + DatabaseCommit +
Send +
Sync +
Clone + 'static,