code: func (a *AddrManager) AddAddresses(addrs []*wire.NetAddress, srcAddr *wire.NetAddress) {
  	a.mtx.Lock()
  	defer a.mtx.Unlock()
  
  	for _, na := range addrs {
  		a.updateAddress(na, srcAddr)
  	}
  }
docs: // AddAddresses adds new addresses to the address manager.  It enforces a max
  // number of addresses and silently ignores duplicate addresses.  It is
  // safe for concurrent access.