Bitcoin Forum
November 14, 2024, 12:19:48 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: strMainNetDNSSeed and pnSeed?  (Read 181 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 413
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: 3542
Merit: 6886


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!