code: func (pool *TxPool) GetTransactions() (txs types.Transactions, err error) {
  	pool.mu.RLock()
  	defer pool.mu.RUnlock()
  
  	txs = make(types.Transactions, len(pool.pending))
  	i := 0
  	for _, tx := range pool.pending {
  		txs[i] = tx
  		i++
  	}
  	return txs, nil
  }
docs: // GetTransactions returns all currently processable transactions.
  // The returned slice may be modified by the caller.