There was an error while loading. Please reload this page.
1 parent 848d7fa commit 9c61b46Copy full SHA for 9c61b46
crates/transaction-pool/src/validate/task.rs
@@ -253,6 +253,14 @@ where
253
}
254
255
256
+ async fn validate_transactions_with_origin(
257
+ &self,
258
+ origin: TransactionOrigin,
259
+ transactions: impl IntoIterator<Item = Self::Transaction> + Send,
260
+ ) -> Vec<TransactionValidationOutcome<Self::Transaction>> {
261
+ self.validate_transactions(transactions.into_iter().map(|tx| (origin, tx)).collect()).await
262
+ }
263
+
264
fn on_new_head_block<B>(&self, new_tip_block: &SealedBlock<B>)
265
where
266
B: Block,
0 commit comments