Bitcoin Forum
June 21, 2024, 10:43:14 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Finding peers  (Read 595 times)
eid (OP)
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
November 09, 2013, 05:03:17 PM
Last edit: November 09, 2013, 10:27:36 PM by eid
 #1

Hi,

I'd like to know, how do the bitcoin clients find peers?

I'm wondering if there is some central "tracker" (like bittorrent), but that would seem to go against what I know so far about bitcoin.

Also, whatever this method is, is it immune to abuse/attack.


Another thing I was wondering was whether the network is vulnerable to a Dos type attack using large numbers of tiny transactions?

I hope that's wordy enough for my first post Smiley



thanks,

eid
eid (OP)
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
November 10, 2013, 01:10:35 PM
 #2

anyone?
Gator-hex
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
November 10, 2013, 01:19:40 PM
 #3

" How does the peer finding mechanism work?

Bitcoin finds peers primarily by forwarding peer announcements within its own network and each node saves a database of peers that it's aware of, for future use. In order to bootstrap this process Bitcoin needs a list of initial peers, these can be provided manually but normally it obtains them by querying a set of DNS domain names which have automatically updated lists, if that doesn't work it falls back to a built-in list which is updated from time to time in new versions of the software. There is also an IRC based mechanism but it is disabled by default. "

https://en.bitcoin.it/wiki/FAQ

Ondoma
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 10, 2013, 01:24:02 PM
 #4

I'd like to know, how do the bitcoin clients find peers?

The Bitcoin network uses a built-in list of peers and an IRC chatroom to bootstrap.  Nodes also "trade" IP addresses using the "addr" message.

More information here:
https://en.bitcoin.it/wiki/Network#Bootstrapping
eid (OP)
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
November 10, 2013, 08:54:16 PM
 #5

Thanks for the info and links. I'll go and read up some more.





eid
RaggedClown
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
November 10, 2013, 09:18:08 PM
 #6

Take a walk along the beach.

Here are some examples:

http://www.statenislandusa.com/images/pier_aerial.jpg

https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMpKE0ZPzZkrfolqosD-M7AEgCO55nLZNxYewkHAF_NyyfwQJw

http://www.accidentalsexiness.com/wp-content/uploads/2010/01/piersmorganmiami.jpg

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!