`CAddrMan::ResetI2PPorts()` was temporary. Remove it:
* it has partially achieved its goal: probably ran on about half of the
I2P nodes
* it is hackish, deemed risky and two bugs where found in it
https://github.com/bitcoin/bitcoin/issues/22467
https://github.com/bitcoin/bitcoin/issues/22470
-BEGIN VERIFY SCRIPT-
git show e0a2b390c144e123e2fc8a289fdff36815476964 |git apply -R
-END VERIFY SCRIPT-
Fixes https://github.com/bitcoin/bitcoin/issues/22467
Fixes https://github.com/bitcoin/bitcoin/issues/22470
d4b67c8ebc
vasild force-pushed on Jul 19, 2021
jonatack
commented at 1:24 PM on July 19, 2021:
contributor
laanwj
commented at 6:08 PM on July 19, 2021:
member
Looks like #22496 is a similar PR, but it removes somewhat more, also RemoveInvalid, and prevents I2P addresses with non-zero ports from being inserted. Might be best to rebase it on top of this (which is a clean revert).
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:53 UTC