Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi: Update addrmgr services on outbound conns. #1254

Merged
merged 2 commits into from
Jun 5, 2018

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Jun 3, 2018

This consists of two commits.

The first commit exposes a new method named SetServices to the address manager which can be used to update the services for a known address.

The second updates server to add code which updates the address manager services for a known address to the services advertised by peers when they are connected to via an outbound connection. It is only done for outbound connections to help prevent malicious behavior from inbound connections.

@davecgh davecgh force-pushed the multi_update_addrmgr_services branch from 56ddf73 to 56639c1 Compare June 3, 2018 09:12
@davecgh davecgh added this to the 1.3.0 milestone Jun 4, 2018
This exposes a new method named SetServices to the address manager which
can be used to update the services for a known address.  This will be
useful to keep known services up to date.
This adds code to update the address manager services for a known
address to the services advertised by peers when they are connected to
via an outbound connection.  It is only done for outbound connections to
help prevent malicious behavior from inbound connections.
@davecgh davecgh force-pushed the multi_update_addrmgr_services branch from 56639c1 to c0e114d Compare June 4, 2018 23:41
@davecgh davecgh merged commit c0e114d into decred:master Jun 5, 2018
@davecgh davecgh deleted the multi_update_addrmgr_services branch June 5, 2018 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants