public Set<Transaction> transactions(final int n, final TransactionType... transactionTypes) {
    return Stream.generate(() -> transaction(transactionTypes))
        .parallel()
        .limit(n)
        .collect(toUnmodifiableSet());
  }
Generates a sequence of blocks with some accounts and account storage pre-populated with random
data.
ethereum/core/src/test-support/java/org/hyperledger/besu/ethereum/core/BlockDataGenerator.java