2 Commits

Author SHA1 Message Date
David Burkett
a8f12c2615 Rate limit the processing of rumoured addresses. Ref: https://github.com/bitcoin/bitcoin/pull/22387
(cherry picked from commit 8b256769fdb3baaa0e67f8a2b762f67b34f02144)
2023-02-21 10:52:07 -05:00
Vasil Dimov
353a3fdaad
net: advertise support for ADDRv2 via new message
Introduce a new message `sendaddrv2` to signal support for ADDRv2.
Send the new message immediately after sending the `VERACK` message.

Add support for receiving and parsing ADDRv2 messages.

Send ADDRv2 messages (instead of ADDR) to a peer if he has
advertised support for it.

Co-authored-by: Carl Dong <contact@carldong.me>
2020-10-09 16:42:50 +02:00