HomePhabricator

Clear m_addr_known before our periodic self-advertisement

Description

Clear m_addr_known before our periodic self-advertisement

Summary:

This behavior was apparently inadvertently broken in 5400ef6; without this change our daily self-announcements frequently go unsent, because our address is still in the peer's rolling bloom filter (for potentially many days, depending on addr traffic).

Backport of core#20561.

Ref T1696.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1696

Differential Revision: https://reviews.bitcoinabc.org/D10859

Details

Provenance
Suhas Daftuar <sdaftuar@gmail.com>Authored on Dec 3 2020, 15:03
FabienCommitted on Jan 21 2022, 13:12
FabienPushed on Jan 21 2022, 13:12
Reviewer
Restricted Project
Differential Revision
D10859: Clear m_addr_known before our periodic self-advertisement
Parents
rABC934ec8eff88b: addrman: Improve performance of Good
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task