Interface TransactionPoolService

All Superinterfaces:
org.hyperledger.besu.plugin.services.BesuService

public interface TransactionPoolService extends org.hyperledger.besu.plugin.services.BesuService
Service to control and inspect the transaction pool: enable or disable the pool, query whether it is currently enabled, and read the pending transactions.
  • Method Details

    • disableTransactionPool

      void disableTransactionPool()
      Disables the transaction pool.
    • enableTransactionPool

      void enableTransactionPool()
      Enables the transaction pool.
    • isTransactionPoolEnabled

      boolean isTransactionPoolEnabled()
      Checks if the transaction pool is enabled.
      Returns:
      true if the transaction pool is enabled; otherwise false
    • getPendingTransactions

      Collection<? extends org.hyperledger.besu.datatypes.PendingTransaction> getPendingTransactions()
      Returns the collection of pending transactions.
      Returns:
      a collection of pending transactions