I see that GetMyExternalIp() is hard coded to query
www.showmyip.com and checkip.dyndns.org to get the IP of the bitcoin node.
Now there is two things I don't understand :
Why doing that ?
A recieving Bitcoin node could easily use the IP packet to get the IP of the sender, instead of that, it seems to rely on the addr_from of the Version message payload.
And what happens if both showmyip and checkip dyndns are down ? (At my home showmyip does not work)
Does most of the miners will be unable to communicate leading to a bitcoin apocalypse ?
Second, out of topic, how can I remove this ******* time limit that say I can't post on this forum because I already did it just before altough it is not true.