no need to store processedTransactions in memory