protected PendingTransaction processRemove(
      final NavigableMap<Long, PendingTransaction> senderTxs,
      final Transaction transaction,
      final LayeredRemovalReason removalReason) {
    final PendingTransaction removedTx = pendingTransactions.remove(transaction.getHash());

    if (removedTx != null) {
      decreaseCounters(removedTx);
      metrics.incrementRemoved(removedTx, removalReason.label(), name());
      internalRemove(senderTxs, removedTx, removalReason);
      if (removalReason.removedFrom().equals(POOL)) {
        notifyTransactionDropped(removedTx, removalReason);
      }
    }
    return removedTx;
  }
Return the full content of this layer, organized as a list of sender pending txs. For each
sender the collection pending txs is ordered by nonce asc.

@return a list of sender pending txs
ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/transactions/layered/AbstractTransactionsLayer.java