-
Notifications
You must be signed in to change notification settings - Fork 4
Bitcoin
Original whitepaper
- PING_INTERVAL = 2 * 60
- TIMEOUT_INTERVAL = 20 * 60
- MAX_PROTOCOL_MESSAGE_LENGTH = 2 * 1024 * 1024
- Incoming connections = 125
- Outgoing connections = 10
More can be found here
TL;DR No NAT-punching, UPnP (optional) based on miniupnp
Bitcoin works properly only using outgoing connection, but incoming connections can increase performance - https://bitcointalk.org/index.php?topic=30947.0
Node that accepts incoming connection and have a proper port open or supports UPnP is so called listening node.
In bitcoin there is no need to have direct connection so NAT-punching is not really needed. https://bitcointalk.org/index.php?topic=85447.0
External IP address is taken from external servers. Different bitcoin clients in the same network: http://bitcoin.stackexchange.com/questions/22044/why-satoshi-clients-upnp-part-maps-to-a-fixed-external-port-8333-by-default
If you're behind NAT and don't support incoming connections you're not doing anything positive for the network: http://bitcoin.stackexchange.com/questions/300/should-i-leave-the-bitcoin-client-open