Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: TierNolan on January 18, 2014, 02:29:21 PM



Title: Fixed seed nodes
Post by: TierNolan on January 18, 2014, 02:29:21 PM
There is an array of IP addresses encoded into the client (here (https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp#L23))

Where did the list come from?

Is this just a selection of IP addresses for nodes that have high uptime for a long period of time?

This protects against the DNS system being compromised?


Title: Re: Fixed seed nodes
Post by: bitpop on January 18, 2014, 03:24:52 PM
Probably volunteers on irc


Title: Re: Fixed seed nodes
Post by: mmeijeri on January 18, 2014, 03:44:48 PM
There is an array of IP addresses encoded into the client (here (https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp#L23))

Where did the list come from?

Is this just a selection of IP addresses for nodes that have high uptime for a long period of time?

This protects against the DNS system being compromised?

There's a script somewhere in the tree that generates this list. I think it's the same list as that used by the DNS nodes, only hardcoded into the source while the list maintained by the DNS nodes is dynamic. I'd have to check, but I believe the hardcoded list is tried before using the DNS nodes, to avoid overloading them.


Title: Re: Fixed seed nodes
Post by: TierNolan on January 18, 2014, 06:55:47 PM
There's a script somewhere in the tree that generates this list. I think it's the same list as that used by the DNS nodes, only hardcoded into the source while the list maintained by the DNS nodes is dynamic. I'd have to check, but I believe the hardcoded list is tried before using the DNS nodes, to avoid overloading them.

Ahh makes sense.