Returns a reference to the transaction pool observer.
(&self)
| 323 | |
| 324 | /// Returns a reference to the transaction pool observer. |
| 325 | pub const fn pool(&self) -> &TransactionPoolObserver { |
| 326 | &self.pool_observer |
| 327 | } |
| 328 | |
| 329 | /// Returns a cloned handle for submitting external transactions to the pool. |
| 330 | pub fn pool_handle(&self) -> Arc<dyn ExternalTransactionPool> { |