Populate services in GetLocalAddress #10424

pull morcos wants to merge 1 commits into bitcoin:master from morcos:notnodenone changing 1 files +1 −1
  1. 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.

  2. 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
  3. gmaxwell approved
  4. gmaxwell commented at 9:13 PM on May 18, 2017: contributor

    utACK.

  5. fanquake added the label P2P on May 18, 2017
  6. fanquake added the label Needs backport on May 18, 2017
  7. fanquake commented at 12:03 AM on May 19, 2017: member

    Restarted the failing test.

  8. theuni commented at 1:35 AM on May 19, 2017: member

    utACK 307013469f9a3b8f13d3eb9dbeea419a55148493. Failing test was unrelated. I'm working on a fix for it, though.

  9. laanwj commented at 2:32 PM on May 20, 2017: member

    utACK 307013469f9a3b8f13d3eb9dbeea419a55148493

  10. sipa commented at 8:18 PM on May 20, 2017: member

    utACK 307013469f9a3b8f13d3eb9dbeea419a55148493

  11. laanwj merged this on May 22, 2017
  12. laanwj closed this on May 22, 2017

  13. laanwj referenced this in commit 6512913830 on May 22, 2017
  14. laanwj referenced this in commit 37a8fc54d4 on May 22, 2017
  15. laanwj referenced this in commit b654842029 on May 22, 2017
  16. laanwj removed the label Needs backport on May 22, 2017
  17. TheBlueMatt commented at 8:44 PM on May 29, 2017: member

    Postumous utACK

  18. nomnombtc referenced this in commit 2ab7d609dc on Jul 17, 2017
  19. codablock referenced this in commit 955939f775 on Jan 26, 2018
  20. andvgal referenced this in commit 31f058bd8b on Jan 6, 2019
  21. CryptoCentric referenced this in commit 61277349c1 on Feb 27, 2019
  22. random-zebra referenced this in commit 71275c1896 on Jun 9, 2021
  23. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

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