Title: DNS Seeds Post by: hoba on February 09, 2015, 04:27:57 PM Hello,
I have looked into the bitcoin source code and a question arises: Is the implementation of the dns seeds still correct? As far as I can see the dns seeds hard coded in chainparams.cpp are not used. The function ThreadDNSAddressSeed in net.cpp seems to use them, but the invokation of LookupHost - LookupIntern - SetSpecial or CNetAddr -LookupHost - LookupIntern - SetSpecial in netbase.cpp ends up with SetSpecial which handles Onion/Tor-addresses only. And the hard coded dns seeds are no Onion/Tor-addresses. Am I right? Would be glad if anyone confirm this or help me to find my mistake. PS: Does the question fit better to the bitcoin mailing list? Title: Re: DNS Seeds Post by: vm1990 on February 10, 2015, 01:19:34 AM as far as i know dns seed is only used the very very first time the wallet is used to find a new peer... most alt wallets screw this up and thats why they dont sync until you use addnode.
Title: Re: DNS Seeds Post by: gmaxwell on March 19, 2015, 01:42:19 AM They work fine.
2015-03-19 01:40:05 136 addresses found from DNS seeds Setspecial returns false if the thing being checked is not an onion name and the rest of lookupintern runs normally. |