HomePhabricator

Enable host lookups for -proxy and -onion parameters

Description

Enable host lookups for -proxy and -onion parameters

Summary:

  • Extends -dns parameter (via fNameLookup) to control these two new parameters in addition to -addnode, -connect, and -seednode
  • Moves fNameLookup assignment earlier as needed
  • Changes -proxy and -onion to use Lookup() instead of LookupNumeric()

This is backport of Core PR9774

Test Plan:

make check

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: teamcity

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

Details

Provenance
Johnathan Corgan <johnathan@corganlabs.com>Authored on Feb 16 2017, 01:08
deadalnixCommitted on Sep 10 2018, 21:45
deadalnixPushed on Sep 10 2018, 21:59
Reviewer
Restricted Project
Differential Revision
D1753: Enable host lookups for -proxy and -onion parameters
Parents
rSTAGING83f8fcb89bf5: Remove useless parameter from Discover
Branches
Unknown
Tags
Unknown