DEV Community

Lukas Lukac
Lukas Lukac

Posted on

1 1

GoLang implementation of how blockchain achieves immutability

In my previous article, I theoreticized on How blockchain achieves immutability.

Time to focus on practice.

Liquid error: internal

Let me know if you have any questions or doubts about the theory or this particular Go code, I am happy to help, answer!

For more blocks checkout my Twitter-chain: https://twitter.com/BlocksByLukas

Top comments (3)

Collapse
 
bgadrian profile image
Adrian B.G. β€’

Very nice. The CS behind block chains is very cool.

But the "immutable" part dissapear if someone gets 51% of the network with a far superior computing power and rewrites the blocks. There are also other ways of cheating but is not the point

Collapse
 
web3coach profile image
Lukas Lukac β€’

Hey Adrian, I am glad you like it! Yea what you are saying is true, technically speaking you can also remove your blocks locally or re-write them before distributing but doesn't mean it's not immutable. In another words, all documents in your google drive are safe before they are hacked :)

Collapse
 
der_gopher profile image
Alex Pliutau β€’

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay