Bitcoin Forum
May 26, 2024, 01:59:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: strMainNetDNSSeed and pnSeed?  (Read 162 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
March 27, 2018, 05:12:55 AM
 #1

What has privilege?

If static const char *strMainNetDNSSeed[][2] = {
    {"xxxx.com", "175.111.22.333"},,,}

and there is
unsigned int pnSeed[] =
{   0x38a9b992, 0x73d4f3a2,,,,,,,,,,,,  }



Then what has privilege to other?

strMainNetDNSSeed  is applied first, and then if this is none or have problem to get IP address to connect,

then

pnSeed[]'s ip address will be applied?

or?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3402
Merit: 6657


Just writing some code


View Profile WWW
March 27, 2018, 04:41:57 PM
 #2

stdMainNetDNSSeed is the array of DNS seeders for the mainnet. DNS Seeders are used by Bitcoin Core on the first run to get nodes to connect to.

pnSeed is an array of fallback seed nodes that Bitcoin Core can connect to if it is unable to find nodes to connect to from its own database or from the DNS seeders.

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!