class MinerUtils {

    public List<org.ethereum.core.Transaction> getAllTransactions(TransactionPool transactionPool) {

        List<Transaction> txs = transactionPool.getPendingTransactions();

        return PendingState.sortByPriceTakingIntoAccountSenderAndNonce(txs);
    }

}