Interface TransactionPoolService

All Superinterfaces:
BesuService

public interface TransactionPoolService extends BesuService
Service to enable and disable the transaction pool.
  • Method Details

    • disableTransactionPool

      void disableTransactionPool()
      Enables the transaction pool.
    • enableTransactionPool

      void enableTransactionPool()
      Disables 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