morcos
commented at 9:04 PM on May 18, 2017:
member
Previously if we didn't have any local addresses, GetLocalAddress would return
0.0.0.0 and then we'd swap in a peer's notion of our address in AdvertiseLocal,
but then nServices would never get set.
This would prevent a node behind a NAT from having its nServices set in addr messages gossiped between peers and could lead to no incoming connections.
This should be backported to 0.14 (and 0.13 if we do that)
I can't promise that I've fully understood all the implications here.
Populate services in GetLocalAddress
Previously if we didn't have any local addresses, GetLocalAddress would return
0.0.0.0 and then we'd swap in a peer's notion of our address in AdvertiseLocal,
but then nServices would never get set.
307013469f
gmaxwell approved
gmaxwell
commented at 9:13 PM on May 18, 2017:
contributor
utACK.
fanquake added the label P2P on May 18, 2017
fanquake added the label Needs backport on May 18, 2017
fanquake
commented at 12:03 AM on May 19, 2017:
member
Restarted the failing test.
theuni
commented at 1:35 AM on May 19, 2017:
member
utACK307013469f9a3b8f13d3eb9dbeea419a55148493. Failing test was unrelated. I'm working on a fix for it, though.
laanwj
commented at 2:32 PM on May 20, 2017:
member
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-22 12:15 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me