Bitcoin Forum
May 13, 2024, 06:06:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin P2P Nat Traversal Question  (Read 1608 times)
bob1029 (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


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.
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715580362
Hero Member
*
Offline Offline

Posts: 1715580362

View Profile Personal Message (Offline)

Ignore
1715580362
Reply with quote  #2

1715580362
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


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

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


croraf
Newbie
*
Offline Offline

Activity: 10
Merit: 1


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: 301
Merit: 74


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!