官术网_书友最值得收藏!

What is blockchain?

A blockchain is a data structure used to create a decentralized ledger. A blockchain is composed of blocks in a serialized manner. A block contains a set of transactions, a hash of the previous block, timestamp (indicating when the block was created), block reward, block number, and so on. Every block contains a hash of the previous block, thus creating a chain of blocks linked with each other. Every node in the network holds a copy of the blockchain.

Proof-of-work, proof-of-stake, and so on are various consensus protocols used to keep the blockchain secure. Depending on the consensus protocol, the blocks are created and added to the blockchain differently. In proof-of-work, blocks are created by a procedure called mining, which keeps the blockchain safe. In the proof-of-work protocol, mining involves solving complex puzzles. We will learn more about blockchain and its consensus protocols later in this book.

The blockchain in the Bitcoin network holds Bitcoin transactions. Bitcoins are supplied to the network by rewarding new Bitcoins to the nodes that successfully mine blocks.

The major advantage of blockchain data structure is that it automates auditing and makes an application transparent yet secure. It can prevent fraud and corruption. It can be used to solve many other problems depending on how you implement and use it.

主站蜘蛛池模板: 壤塘县| 临海市| 新平| 固镇县| 咸丰县| 荆门市| 宁武县| 克东县| 那坡县| 贵定县| 太保市| 怀化市| 航空| 囊谦县| 石屏县| 仲巴县| 临猗县| 崇信县| 五台县| 临桂县| 平乡县| 浙江省| 潢川县| 广平县| 繁昌县| 荣昌县| 昌都县| 郁南县| 弥勒县| 安顺市| 汉阴县| 彝良县| 大竹县| 庐江县| 江门市| 逊克县| 栖霞市| 兴山县| 广宗县| 榆树市| 宣威市|