Author

Topic: DNS Seeds (Read 1726 times)

staff
Activity: 4242
Merit: 8672
March 18, 2015, 09:42:19 PM
#3
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.
legendary
Activity: 1540
Merit: 1002
February 09, 2015, 09:19:34 PM
#2
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.
newbie
Activity: 15
Merit: 0
February 09, 2015, 12:27:57 PM
#1
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?
Jump to: