Bitcoin Forum
April 30, 2024, 08:23:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: DNS Seeds  (Read 1715 times)
hoba (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 09, 2015, 04: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?
1714508637
Hero Member
*
Offline Offline

Posts: 1714508637

View Profile Personal Message (Offline)

Ignore
1714508637
Reply with quote  #2

1714508637
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714508637
Hero Member
*
Offline Offline

Posts: 1714508637

View Profile Personal Message (Offline)

Ignore
1714508637
Reply with quote  #2

1714508637
Report to moderator
1714508637
Hero Member
*
Offline Offline

Posts: 1714508637

View Profile Personal Message (Offline)

Ignore
1714508637
Reply with quote  #2

1714508637
Report to moderator
vm1990
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002



View Profile
February 10, 2015, 01:19:34 AM
 #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.

gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
March 19, 2015, 01:42:19 AM
 #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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!