user-1: I need some clarification about the meaning of the addr_from and addr_recv fields
in the Version Message.
addr_recv: The network address of the node receiving this message 
does this mean the public IP of the node I am sending to ?
addr_from:The network address of the node emitting this message 
does this mean my public(external) IP address or my local IP address ?
Thanks .. 

user120: So assuming node A sends a version message to node B then the two fields have the following meaning and value:

addr_recv: node A says "I believe you are reachable via this IP", hence its value is B's public IP address, the IP this message was originally sent to.
addr_from: node A says "I believe my external IP is this", hence this is what A believes its external IP to be (but may be different if A is behind a NAT and has not learned its true external address yet).


-1: <p>I need some clarification about the meaning of the addr_from and addr_recv fields
in the Version Message.</p>

<p>addr_recv: The network address of the node receiving this message 
does this mean the public IP of the node I am sending to ?</p>

<p>addr_from:The network address of the node emitting this message 
does this mean my public(external) IP address or my local IP address ?</p>

<p>Thanks .. </p>
 120: <p>So assuming node A sends a version message to node B then the two fields have the following meaning and value:</p>

<ul>
<li><code>addr_recv</code>: node A says "I believe you are reachable via this IP", hence its value is B's public IP address, the IP this message was originally sent to.</li>
<li><code>addr_from</code>: node A says "I believe my external IP is this", hence this is what A believes its external IP to be (but may be different if A is behind a NAT and has not learned its true external address yet).</li>
</ul>
