Live data from Hacker News

Ethereum from scratch – Part 1: Ping

ocalog.com

1–10 of 134 posts

Re: Ethereum from scratch – Part 1: Ping

#2
Hi all, I'm the author of the post, and also the creator of the website. I'm writing this series of posts to demonstrate the site. Do you guys get what the site's trying to do?

Hope you enjoy the post. If you have any constructive criticism you'd like to give regarding either the post or the website, let me know!

Re: Ethereum from scratch – Part 1: Ping

#3
post #2

Hi all, I'm the author of the post, and also the creator of the website. I'm writing this series of posts to demonstrate the site. Do you guys get what the site's trying to do? Hope you enjoy the post. If you have any constructive criticism you'd like to give regarding either the post or the website, let me know!

There are no uses for turing complete smart contracts on a blockchain

Re: Ethereum from scratch – Part 1: Ping

#4
post #2

Hi all, I'm the author of the post, and also the creator of the website. I'm writing this series of posts to demonstrate the site. Do you guys get what the site's trying to do? Hope you enjoy the post. If you have any constructive criticism you'd like to give regarding either the post or the website, let me know!

There are no uses for turing complete smart contracts on a blockchain

Since Dropbox episode we don't tell people that nobody has any usage of their product.

Re: Ethereum from scratch – Part 1: Ping

#5
post #2

Hi all, I'm the author of the post, and also the creator of the website. I'm writing this series of posts to demonstrate the site. Do you guys get what the site's trying to do? Hope you enjoy the post. If you have any constructive criticism you'd like to give regarding either the post or the website, let me know!

Just today I started to look into RLPx to do some basic network discovery, so your guide is quite nice to have as a reference. But I had some difficulties getting started, because the RLPx spec was not simple to find (ethereum wiki -> devp2p -> RLPx) and is quite terse. I myself wasn't able to decode the packet structure.

Looking into ethereum related stuff I often get the feeling that one already needs to know half of ethereum quite decent to learn something new, which makes it hard to even get started.

Reading your guide (am not finished yet) gives me a better picture of the things I actually need to do, to start discovering some nodes, so I'm really thankful for that and hope for more beginner targeted ethereum content.

Re: Ethereum from scratch – Part 1: Ping

#6
post #2

Hi all, I'm the author of the post, and also the creator of the website. I'm writing this series of posts to demonstrate the site. Do you guys get what the site's trying to do? Hope you enjoy the post. If you have any constructive criticism you'd like to give regarding either the post or the website, let me know!

There are no uses for turing complete smart contracts on a blockchain

Except any reasonably complex interactions between parties which may or may not be accounting applications yet still need a distributed system of trust.

Which includes a few trillion dollar industries.

Re: Ethereum from scratch – Part 1: Ping

#7
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

#8
Neat. I contemplated writing something like that, only without the "import rlp" cheat.

Basically, there were a lot of blind spots in the official documentation and it took me a while to figure out things like how to make a proper key recovery id or which endianness to use where in the messages.

How far have you been able to get to? I still can't quite wedge into the mainnet - the nodes keep disconnecting me for unknown reasons some time after, and finding a new node to connect to takes a while.

My node does works rather well on the ropsten testnet, however.

Re: Ethereum from scratch – Part 1: Ping

#9
post #2

Hi all, I'm the author of the post, and also the creator of the website. I'm writing this series of posts to demonstrate the site. Do you guys get what the site's trying to do? Hope you enjoy the post. If you have any constructive criticism you'd like to give regarding either the post or the website, let me know!

There are no uses for turing complete smart contracts on a blockchain

You may be right about this.

Re: Ethereum from scratch – Part 1: Ping

#10
post #6

Earlier quoted context omitted.

There are no uses for turing complete smart contracts on a blockchain

Except any reasonably complex interactions between parties which may or may not be accounting applications yet still need a distributed system of trust. Which includes a few trillion dollar industries.

Registered assets are always more secure and cheaper than bearer assets. And if you needed bearer assets, there's multisig, which does everything turing complete code does, cheaper and more secure
Post reply on HN