decred / dcrd

Decred daemon in Go (golang).
https://decred.org
ISC License
731 stars 288 forks source link

[release-v2.0] main: Use backported addrmgr updates. #3316

Closed davecgh closed 3 months ago

davecgh commented 3 months ago

This updates the 2.0 release branch to use the latest version of the addrmgr module which includes an update to give unattempted addresses a chance at being selected.

In particular, the following updated module version is used:

Note that it also cherry picks all of the commits included in updates to the addrmgr/v2 module to ensure they are also included in the release branch even though it is not strictly necessary since go.mod has been updated to require the new addrmgr/v2.0.4 release and thus will pull in the new code. However, from past experience, not having code backported to modules available in the release branch too leads to headaches for devs building from source in their local workspace with overrides such as those in go.work.