code: func (pool *TxPool) Pending() (map[common.Address]types.Transactions, error) {
  	pool.mu.Lock()
  	defer pool.mu.Unlock()
  
  	pending := make(map[common.Address]types.Transactions)
  	for addr, list := range pool.pending {
  		pending[addr] = list.Flatten()
  	}
  	return pending, nil
  }
docs: // Pending retrieves all currently processable transactions, grouped by origin
  // account and sorted by nonce. The returned transaction set is a copy and can be
  // freely modified by calling code.