This has never been used in the public interface method since it was introduced in #9037.
addrman: Remove unused test_before_evict argument from Good() #22505
pull jnewbery wants to merge 1 commits into bitcoin:master from jnewbery:2021-07-addrman-good-test-before-evict changing 3 files +4 −4-
jnewbery commented at 1:02 PM on July 20, 2021: member
- fanquake added the label P2P on Jul 20, 2021
-
in src/addrman.h:544 in e6caaea0ea outdated
541 | EXCLUSIVE_LOCKS_REQUIRED(!cs) 542 | { 543 | LOCK(cs); 544 | Check(); 545 | - Good_(addr, test_before_evict, nTime); 546 | + Good_(addr, true, nTime);
MarcoFalke commented at 2:51 PM on July 20, 2021:nit: Might be good to use named args where fundamental literal types are used for clarity
Good_(addr, /* test_before_evict */ true, nTime);
jnewbery commented at 3:18 PM on July 20, 2021:done!
f036dfbb69[addrman] Remove unused test_before_evict argument from Good()
This has never been used in the public interface method since it was introduced in #9037.
jnewbery force-pushed on Jul 20, 2021lsilva01 approvedlsilva01 commented at 6:35 PM on July 20, 2021: contributorTested ACK https://github.com/bitcoin/bitcoin/pull/22505/commits/f036dfbb692c4d44d0f59194d089ed0aa1096347 on Ubuntu 20.04.
theStack approvedtheStack commented at 8:46 PM on July 20, 2021: memberCode-review ACK f036dfbb692c4d44d0f59194d089ed0aa1096347
fanquake merged this on Jul 21, 2021fanquake closed this on Jul 21, 2021jnewbery deleted the branch on Jul 21, 2021sidhujag referenced this in commit 7baf6a896b on Jul 23, 2021DrahtBot locked this on Aug 16, 2022ContributorsLabels
github-metadata-mirror
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-04-28 00:14 UTC
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-04-28 00:14 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me