mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 17:18:08 -05:00
chore(txpool): expose PooledTransaction (#1649)
This commit is contained in:
@@ -83,8 +83,8 @@ pub use crate::{
|
||||
config::PoolConfig,
|
||||
ordering::TransactionOrdering,
|
||||
traits::{
|
||||
BestTransactions, OnNewBlockEvent, PoolTransaction, PropagateKind, PropagatedTransactions,
|
||||
TransactionOrigin, TransactionPool,
|
||||
BestTransactions, OnNewBlockEvent, PoolTransaction, PooledTransaction, PropagateKind,
|
||||
PropagatedTransactions, TransactionOrigin, TransactionPool,
|
||||
},
|
||||
validate::{TransactionValidationOutcome, TransactionValidator, ValidPoolTransaction},
|
||||
};
|
||||
|
||||
@@ -302,7 +302,7 @@ pub trait PoolTransaction: fmt::Debug + Send + Sync + FromRecoveredTransaction {
|
||||
/// This type is essentially a wrapper around [TransactionSignedEcRecovered] with additional fields
|
||||
/// derived from the transaction that are frequently used by the pools for ordering.
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||
pub(crate) struct PooledTransaction {
|
||||
pub struct PooledTransaction {
|
||||
/// EcRecovered transaction info
|
||||
pub(crate) transaction: TransactionSignedEcRecovered,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user