Skip to main content

TestnetPool

Trait TestnetPool 

Source
pub trait TestnetPool:
    TransactionPool
    + Unpin
    + 'static
where Self::Transaction: PoolTransaction<Consensus = EthereumTxEnvelope<TxEip4844>, Pooled = EthereumTxEnvelope<TxEip4844WithSidecar>>,
{ }
Available on crate feature network and (crate features test-utils) only.
Expand description

A transaction pool that can back the transactions manager of a Peer in a spawned Testnet.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> TestnetPool for T
where <T as TransactionPool>::Transaction: PoolTransaction<Consensus = EthereumTxEnvelope<TxEip4844>, Pooled = EthereumTxEnvelope<TxEip4844WithSidecar>>, T: TransactionPool + Unpin + 'static,