// BatchUnsafeAdd adds transactions to buffer without adding them to index
// used on node's start
BatchUnsafeAdd adds transactions to buffer without adding them to index
used on node's start
// BatchUnsafeAdd adds transactions to buffer without adding them to index // used on node ' s start
func (t *Transactions) BatchUnsafeAdd(txs []*Transaction) {
	t.Lock()
	defer t.Unlock()
	for _, tx := range txs {
		t.buffer[tx.ID] = tx
	}
}
func ( t * Transactions ) BatchUnsafeAdd ( txs [ ] * Transaction ) { t . Lock ( ) defer t . Unlock ( ) for _ , tx := range txs { t . buffer [ tx . ID ] = tx } }
BatchUnsafeAdd adds transactions to buffer without adding them to index
used on node's start
BatchUnsafeAdd adds transactions to buffer without adding them to index used on node ' s start