code: func (pool *TxPool) addTxs(txs []*types.Transaction, local bool) []error {
  	// Cache senders in transactions before obtaining lock (pool.signer is immutable)
  	for _, tx := range txs {
  		types.Sender(pool.signer, tx)
  	}
  	pool.mu.Lock()
  	defer pool.mu.Unlock()
  
  	return pool.addTxsLocked(txs, local)
  }
docs: // addTxs attempts to queue a batch of transactions if they are valid.