// addTxs attempts to queue a batch of transactions if they are valid.
addTxs attempts to queue a batch of transactions if they are valid.
// addTxs attempts to queue a batch of transactions if they are valid .
func (nPool *NormalTxPool) addTxs(txs []*types.Transaction, local bool) error {
	nPool.getFromByTx(txs) 
	nPool.mu.Lock()
	err := nPool.addTxsLocked(txs, local)
	nPool.mu.Unlock()
	return err
}
func ( nPool * NormalTxPool ) addTxs ( txs [ ] * types . Transaction , local bool ) error { nPool . getFromByTx ( txs ) nPool . mu . Lock ( ) err := nPool . addTxsLocked ( txs , local ) nPool . mu . Unlock ( ) return err }
addTxs attempts to queue a batch of transactions if they are valid.
addTxs attempts to queue a batch of transactions if they are valid .
//