HomePhabricator

Support for name lookups in -connect and -addnode
a6a5bb7c2041Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Support for name lookups in -connect and -addnode

  • A new option -dns is introduced that enables name lookups in -connect and -addnode, which is not enabled by default, as it may be considered a security issue.
  • A Lookup function is added that supports retrieving one or more addresses based on a host name
  • CAddress constructors (optionally) support name lookups.
  • The different places in the source code that did name lookups are refactored to use NameLookup or CAddress instead (dns seeding, irc server lookup, getexternalip, ...).
  • Removed ToStringLog() from CAddress, and switched to ToString(), since it was empty.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on May 2 2011, 13:34
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING04a667b0767a: Merge pull request #150 from jgarzik/settxfee
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGINGa6a5bb7c2041: Support for name lookups in -connect and -addnode (authored by Pieter Wuille <pieter.wuille@gmail.com>).May 10 2011, 21:49