Facebook Pixel
Around IT in 256 seconds

#27: Proof-of-work algorithm in blockchain

Around IT in 256 seconds
Around IT in 256 seconds

Let’s try to cheat the blockchain. If my wallet has exactly one bitcoin, I can’t spend it twice. Once it’s written into an immutable blockchain, everyone knows my wallet is empty. However, what if I purposefully create and announce two blocks at the same time. With the same parent block. For example, in one of the blocks there’s a 1 bitcoin from my wallet spent on drugs. In the other block I spent that same bitcoin on unlicensed firearms. You know, things you do with cryptocurrencies. There are two competing blocks, each having a different version of the history. There is no central database so the blockchain network has no way of figuring out which block is valid and which is not. Well, they both technically are.

Read more: https://256.nurkiewicz.com/27

Get the new episode straight to your mailbox: https://256.nurkiewicz.com/newsletter

Around IT in 256 seconds
Not playing