Learn Blockchains by Building One
Daniel van Flymen

Hey Daniel, this was an awesome article and finally gave me a grasp on how blockchains works internally. I have a few questions though. I see the chain of node 1 is replaced by node 2. But what if a block was mined on node 1? what if transactions were stored on it? wont it just be overwritten and lost? and how do the nodes sync with each other? do they mine blocks with different transactions or same ones? How do they store the same copy with same transactions and have it synced all time?

Like what you read? Give Lezwon Castellino a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.