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

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.

主站蜘蛛池模板: 钟祥市| 普兰店市| 九台市| 广宁县| 张家口市| 织金县| 巨鹿县| 黑河市| 阳山县| 聂拉木县| 云霄县| 德钦县| 沅陵县| 浙江省| 丰县| 德安县| 涟源市| 绥德县| 富民县| 汽车| 大田县| 班戈县| 资溪县| 丹凤县| 莱西市| 黔江区| 静乐县| 罗甸县| 昌吉市| 玉树县| 呼伦贝尔市| 龙里县| 侯马市| 集贤县| 开封市| 克什克腾旗| 交城县| 九龙坡区| 远安县| 安吉县| 白朗县|