Bitcoin Forum
December 12, 2024, 08:02:28 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: List of good seed nodes to put in bitcoin.conf?  (Read 7505 times)
a.miner (OP)
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
April 27, 2014, 01:31:29 AM
 #1

Where can I find a list of good nodes to put in bitcoin.conf using addnode?

There is a list at nodes.bitcoin.st showing nodes that have been online for over a year, but there aren’t many nodes there.

What do you put in your bifcoin.conf?
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1104


View Profile
April 27, 2014, 11:17:31 AM
 #2

You shouldn't really need to manually do it, as long as you have an up to date client.

There is a large set of hard coded seed nodes built in.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4284
Merit: 8816



View Profile WWW
April 27, 2014, 05:04:11 PM
 #3

Please don't just stuff addnodes in to your configuration for random public nodes— unless that kind of usage has been solicited. If you do that you'll cause unequal load for nodes that people have listed online.
a.miner (OP)
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
April 27, 2014, 08:27:04 PM
 #4

Please don't just stuff addnodes in to your configuration for random public nodes— unless that kind of usage has been solicited. If you do that you'll cause unequal load for nodes that people have listed online.
Point taken.

So what's the answer?  Every new node goes to the same set of hard-coded seed nodes?

That would lead to a hugely unequal load...
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1104


View Profile
April 27, 2014, 08:48:26 PM
 #5

So what's the answer?  Every new node goes to the same set of hard-coded seed nodes?

That would lead to a hugely unequal load...

The sequence is

- try peers you heard about/connected to within the last few days

- then try the hard coded seeds

- then the DNS seed addresses


This keeps load on the DNS nodes to a minimum.  There are only 4-5 of those, but they have dns names (seed.somedomain.com or something). 

The hard coded seeds are next.  There are 600 of those.  They are taken from a list of nodes that have very high up-time over the previous year or so.

The nodes that you see from the addr messages could be any active node.  This means that except for the initial connection, you end up connecting to random nodes on the network.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
a.miner (OP)
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
April 28, 2014, 06:09:23 PM
 #6

The sequence is

- try peers you heard about/connected to within the last few days

- then try the hard coded seeds

- then the DNS seed addresses


This keeps load on the DNS nodes to a minimum.  There are only 4-5 of those, but they have dns names (seed.somedomain.com or something). 

The hard coded seeds are next.  There are 600 of those.  They are taken from a list of nodes that have very high up-time over the previous year or so.

The nodes that you see from the addr messages could be any active node.  This means that except for the initial connection, you end up connecting to random nodes on the network.

I've seen the DNS seeds in the source code, and I thought "hard-coded seeds" was just another name for these DNS seeds.

So, where do I find these 600 hard-coded seeds?

Also, regarding  these "peers you heard about within the last few days" ... where do they come from?

That is, how do I hear about them?  Is there a list of such nodes on the web or something?  Should I be putting these in the bitcoin.conf file with addnode?
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1104


View Profile
April 28, 2014, 07:04:40 PM
 #7

I've seen the DNS seeds in the source code, and I thought "hard-coded seeds" was just another name for these DNS seeds.

So, where do I find these 600 hard-coded seeds?

They only have them for the main network.

https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp#L21

Quote
Also, regarding  these "peers you heard about within the last few days" ... where do they come from?

You can ask your peers to send you addresses.  I think nodes broadcast their address every so often.

They use the "addr" message.

Quote
That is, how do I hear about them?  Is there a list of such nodes on the web or something?  Should I be putting these in the bitcoin.conf file with addnode?

No, just being connected to the network is enough.  Your peers will send you addr messages every so often.

If you have less than 1000, I think your node will ask for them. 

The addr message has the last time the node was seen as part of the message and also if it is a full node or an SPV node.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
zvs
Legendary
*
Offline Offline

Activity: 1680
Merit: 1000


https://web.archive.org/web/*/nogleg.com


View Profile WWW
April 28, 2014, 10:49:38 PM
 #8

you can addnode=5.9.24.81 , that's mine.  i don't mind.  it's at like 400/1000
a.miner (OP)
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
April 29, 2014, 12:37:00 AM
 #9

Aha!  I have seen that table before.  I just didn't realize what it is.

So the best thing to do is to start bitcoind with no addnode statements at all then, right?
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1104


View Profile
April 29, 2014, 08:09:42 AM
 #10

So the best thing to do is to start bitcoind with no addnode statements at all then, right?

Right, unless you have an old client and the hard coded and DNS seeds aren't working.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
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!