HomePhabricator

Populate services in GetLocalAddress

Description

Populate services in GetLocalAddress

Summary:
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 is a backport of Core PR10424

Test Plan:

make check

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1888

Details

Provenance
Alex Morcos <morcos@chaincode.com>Authored on May 18 2017, 20:57
deadalnixCommitted on Oct 6 2018, 09:37
deadalnixPushed on Oct 6 2018, 09:37
Reviewer
Restricted Project
Differential Revision
D1888: Populate services in GetLocalAddress
Parents
rABCee28ccaa316a: Various nits in net_processing.cpp
Branches
Unknown
Tags
Unknown

Event Timeline