#27: Proof-of-work algorithm in blockchain

29 gru 2020 | Podcast | programowanie | blockchain | IT

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

POSTY TEGO AUTORA

#38: HTTP cookies: from saving shopping cart to online tracking30 mar 2021

Podcast | programowanie | cookies | http | web development | IT

#37: Fallacies of distributed computing23 mar 2021

Podcast | programowanie | distributed computing | IT

#36: Microservices architecture: principles and how to break them16 mar 2021

Podcast | programowanie | software architecture | microservices | IT

#35: Reactive programming: from spreadsheets to modern web frameworks2 mar 2021

Podcast | programowanie | reactive programming | IT

#34: SQL joins23 lut 2021

Podcast | programowanie | sql | join | IT

Around IT In 256 Seconds

Around IT In 256 Seconds