code: func (a *AddrManager) reset() {
  
  	a.addrIndex = make(map[string]*KnownAddress)
  
  	// fill key with bytes from a good random source.
  	io.ReadFull(crand.Reader, a.key[:])
  	for i := range a.addrNew {
  		a.addrNew[i] = make(map[string]*KnownAddress)
  	}
  	for i := range a.addrTried {
  		a.addrTried[i] = list.New()
  	}
  }
docs: // reset resets the address manager by reinitialising the random source
  // and allocating fresh empty bucket storage.