diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-12-07 23:57:49 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-12-07 23:57:55 +0100 |
commit | 1a9fa4c5ba27f5e32b547a77264ca0d4462bd168 (patch) | |
tree | 1c1019347d2b3a2260609c60ab7d6020202967f1 /test | |
parent | d38feb6134e2aaeeb9991cc25f7e94fa8451795b (diff) | |
parent | 65273fa0e74f0c11dfbf0645dd962bdc779ea558 (diff) | |
download | bitcoin-1a9fa4c5ba27f5e32b547a77264ca0d4462bd168.tar.xz |
Merge #20561: p2p: periodically clear m_addr_known
65273fa0e74f0c11dfbf0645dd962bdc779ea558 Clear m_addr_known before our periodic self-advertisement (Suhas Daftuar)
Pull request description:
We use a rolling bloom filter to track which addresses we've previously sent a peer, but after #7125 we no longer clear it every day before our own announcement. This looks to me like an oversight which has the effect of reducing the frequency with which we actually self-announce our own address, so this reintroduces resetting that filter.
ACKs for top commit:
naumenkogs:
ACK 65273fa0e74f0c11dfbf0645dd962bdc779ea558
laanwj:
Code review ACK 65273fa0e74f0c11dfbf0645dd962bdc779ea558
sipa:
utACK 65273fa0e74f0c11dfbf0645dd962bdc779ea558
Tree-SHA512: 602c155fb6d2249b054fcb6f1c0dd17143605ceb87132286bbd90babf26d258ff6c41f9925482c17e2be41805d33f9b83926cb447f394969ffecd4bccfa0a64f
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions