Interface TransactionPoolService
- All Superinterfaces:
BesuService
Service to enable and disable the transaction pool.
-
Method Summary
Modifier and TypeMethodDescriptionvoidEnables the transaction pool.voidDisables the transaction pool.Collection<? extends org.hyperledger.besu.datatypes.PendingTransaction> Returns the collection of pending transactions.booleanChecks if the transaction pool is enabled.
-
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:
trueif the transaction pool is enabled; otherwisefalse
-
getPendingTransactions
Collection<? extends org.hyperledger.besu.datatypes.PendingTransaction> getPendingTransactions()Returns the collection of pending transactions.- Returns:
- a collection of pending transactions
-