The Blockchain fundamentals for developers

The Blockchain fundamentals for developers


What is the blockchain?

Transactions

Blocks


Block hash calculations

Cracking funds from wallets

Double spending and publishing incorrect blocks

The Bitcoin solves that problem with a mining process which is described as calculating the cryptographical hash for the latest block in the chain. That calculation needs to be based on the hash generated from the previous block. The funds from the wallet are spent only when the transaction is mined, which means confirmed, but not once or twice, but at least 3-6 times in the blockchain. Because the mining process consumes a lot (and I mean – a lot) of resources, it is hard to mine 3 or even 6 rows faster than your competitors in the network. Moreover, the mining is time and resource consuming process, but verifying hash for the mined block is a fast and easy operation. So, every node can easily verify if the block mined by you is correct or incorrect and should be rejected from the blockchain.

Blocking the blockchain

51% percent attack

Confirmations

A fee

Conclusion

Comments

Popular posts from this blog

A Tailwind CSS Preset for Laravel 5.5

Short and safe array iteration

PHPStorm's performance