Bitcoin Forum
December 14, 2017, 11:13:54 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin P2P Nat Traversal Question  (Read 1501 times)
bob1029
Newbie
*
Offline Offline

Activity: 1


View Profile
July 22, 2011, 01:06:04 PM
 #1

I would post this in the developer board, but I am stuck here.  I would like to know the technique that the official bitcoin client uses to handle NAT traversal and bootstrapping of peers.  Is a 3rd party used to negotiate traffic, or is some more clever protocol being used?  I noticed that the client seems rather robust, so I would like to know how this is done.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513250034
Hero Member
*
Offline Offline

Posts: 1513250034

View Profile Personal Message (Offline)

Ignore
1513250034
Reply with quote  #2

1513250034
Report to moderator
1513250034
Hero Member
*
Offline Offline

Posts: 1513250034

View Profile Personal Message (Offline)

Ignore
1513250034
Reply with quote  #2

1513250034
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2338


✪ NEXCHANGE | BTC, LTC, ETH & DOGE ✪


View Profile
July 22, 2011, 10:32:36 PM
 #2

I would post this in the developer board, but I am stuck here.  I would like to know the technique that the official bitcoin client uses to handle NAT traversal and bootstrapping of peers.  

The client works without inbound connections, though performance is higher when an incoming port is opened or by enabling UPnP.

UPnP may, or may not be enabled as a default, depending on which version of the GUI software you are using.

When the client does not yet know of any peers  (e.g., during the very first time start up) or it cannot contact the peers it does know about the client will then bootstrap to find peers using IRC (or, if the client uses -dnsseed, a DNS lookup).
 - http://en.bitcoin.it/wiki/Network#Bootstrapping

croraf
Newbie
*
Offline Offline

Activity: 10


View Profile
October 29, 2017, 08:59:37 PM
 #3

How can it work without inbound connections? Can it receive blocks and transactions from peers without them?
jnano
Member
**
Offline Offline

Activity: 70


View Profile
October 29, 2017, 10:17:19 PM
 #4

though performance is higher when an incoming port is opened
In what way is it quicker? Getting notified about new transactions rather than polling?

How can it work without inbound connections? Can it receive blocks and transactions from peers without them?
Same as any other client-type software: by initiating the connections yourself.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!