Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncle Blocks? #20

Open
olumidesan opened this issue Jan 3, 2022 · 5 comments
Open

Uncle Blocks? #20

olumidesan opened this issue Jan 3, 2022 · 5 comments

Comments

@olumidesan
Copy link

Hi, Lukáš.

This is not an issue, but more like a feature request:

I was wondering if you had plans to integrate uncle blocks into the working of the application. Currently, I know we prevent any forks (ch_11), but I've read Ethereum incentivizes uncle blocks for a variety of reasons (at least in its PoW implementation). Would love to see it in action, and was wondering if you had any plans for it in future chapters.

Thanks!

PS: Excellent work, by the way. Absolutely love your book!

@web3coach
Copy link
Owner

Hi Olumide!

This is an excellent idea! I didn't plan to do it but it's a very interesting topic indeed! How do you feel about submitting a simplified Improvement Proposal on Uncle Blocks and their implementation? ;)

https://github.com/web3coach/the-blockchain-bar/tree/c15_blockchain_forks_what_why_how/TIPs

PS: Glad you like the book!

@web3coach
Copy link
Owner

https://twitter.com/Web3Coach/status/1478046078897381377 :) Will they be still around in PoS?

@olumidesan
Copy link
Author

Hi, Lukáš.

Sure, I'd love to! However, I just looked at the TIP in the attached link, and it's a little detailed. Consequently, it may take me a bit to come up with a write-up of similar standard.

Also, referencing your tweet, I had the same concerns (will uncle blocks exist in ETH2.0, and if not, is there any use implementing them here?). That said, I think it'd be fair to have a working PoW implementation with uncle blocks -- purely for historical purposes. This repo, in conjunction with your book, was meant, I imagine, as a technical introduction to blockchain and its internal tech. So, it seems apt that uncle blocks -- a key concept in Ethereum's current consensus architecture (GHOST) be discussed.

For all I know, you could have a part two to your book (after ETH2.0 has stabilized, I'd imagine) where you talk about everything new in blockchain, and also the aftermath of uncle blocks. No use vacillating on speculation now.

That's my two cents, anyway :)

@web3coach
Copy link
Owner

It's would definitely take a lot of time to prepare the TIP and create an implementation but you could learn a lot.

Maybe somehow simplifing the exact one in Ethereum?

It would certainly make sense and I would be willing to write a chapter about it. I also wanted to write about libp2p and other p2p libraries for networking but for now I am prioritizing one long tutorial/roadmap that I am releasing in the next weeks.

And yes, I will be adding new concepts from ETH 2.0 like PoS as new/bonus chapters in the book :) The goal is for the book to keep growing and everyone who purchased it to benefit from it.

@olumidesan
Copy link
Author

I agree it would take time to create the TIP, and I'm open to it, as there's much to learn like you mentioned. I'll see what I can do in the coming days.

Looking forward to the upcoming chapters!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants