Learn Blockchains by Building One
Daniel van Flymen
50K246

About the distributed part of all of this, how would the example be altered to incorporate new blocks being mined on different nodes, without losing blocks in the Consensus Algorithm?

In the example we seem to ignore all the nodes that are not in the longest chain. In a more full fledged implementation, would the Consensus Algorithm merge the chains?

Like what you read? Give Joshua Russo a round of applause.

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