News for hackers. Stuff that matters.
Re:Ethereum from scratch – Part 1: Ping by mgbmtl on Thursday July 20, 2017 @05:18PM (#14816380)
I like the intro, very clear! I also like the narrative cross-referencing the docs, which people will sooner or later need to do as well. I have to admit that I only glanced over the code.

This caught my attention: "In the EndPoint specification, it demands the "BE encoded 4-byte" address, which is exactly what's outputted by self.address.packed."

Does this mean that Ethereum only supports IPv4?

I searched around and only found this, dating back to 2014: https://github.com/ethereum/wiki/wiki/IPv6

Re:Ethereum from scratch – Part 1: Ping by Roxxik on Thursday July 20, 2017 @05:26PM (#14816432)
documentation says it all:

"bytes address; // BE encoded 4-byte or 16-byte address (size determines ipv4 vs ipv6)"[0]

[0]: https://github.com/ethereum/devp2p/blob/master/rlpx.md

Re:Ethereum from scratch – Part 1: Ping by mgbmtl on Thursday July 20, 2017 @05:40PM (#14816543)
thanks!