GoLang implementation of how blockchain achieves immutability

・1 min read

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

Time to focus on practice.

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


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


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 :)

Classic DEV Post from Oct 7 '18

What's the difference between a library and a framework?

Having a look at this comment by @kayis from another thread, I'm wondering if ...

Lukas Lukac
I help developers to master blockchain via UML Diagrams, GoLang and Web3.js via my BlocksByLukas Twitter-chain
Join dev.to

Better understand your code.