diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-12-16 18:05:41 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-12-16 18:09:06 +0100 |
commit | ad3d4b3929ab19ab5b0623a1153279ec9bd21ea1 (patch) | |
tree | 684e2daa027a1bb6d91a5952ae8428c40cec4d83 /test/functional/p2p_segwit.py | |
parent | 69f1ee1922e31a94fba043a2278ca857e9d72c2a (diff) | |
parent | 37fe80e6267094f6051ccf9bec0c7f1a6b9e15da (diff) | |
download | bitcoin-ad3d4b3929ab19ab5b0623a1153279ec9bd21ea1.tar.xz |
Merge #20661: Only select from addrv2-capable peers for torv3 address relay
37fe80e6267094f6051ccf9bec0c7f1a6b9e15da Only consider addrv2 peers for relay of non-addrv1 addresses (Pieter Wuille)
83f8821a6f41854edd5c0b11deabba658890cde1 refactor: add IsAddrCompatible() to CNode (Pieter Wuille)
Pull request description:
When selecting peers to relay an address to, only pick addrv2-capable ones if the address cannot be represented in addr(v1).
Without this I expect that propagation of torv3 addresses over the cleartext network will be very hard for a while.
ACKs for top commit:
jonatack:
ACK 37fe80e6267094f6051ccf9bec0c7f1a6b9e15da
vasild:
ACK 37fe80e6267094f6051ccf9bec0c7f1a6b9e15da
Tree-SHA512: 18a854ea43ad473cf89b9c5193b524109d7af75c26f7aa7e26cd72ad0db52f19c8001d566c607a7e6772bc314f770f09b6c3e07282d110c5daea193edc592cd2
Diffstat (limited to 'test/functional/p2p_segwit.py')
0 files changed, 0 insertions, 0 deletions