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

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.

主站蜘蛛池模板: 海阳市| 乐清市| 固阳县| 利津县| 忻州市| 乐安县| 长岛县| 巴彦淖尔市| 舒兰市| 镶黄旗| 蛟河市| 饶平县| 南漳县| 托克逊县| 霍林郭勒市| 昌都县| 肇州县| 北川| 南汇区| 墨脱县| 藁城市| 汽车| 阳信县| 青神县| 南木林县| 城步| 望都县| 公主岭市| 许昌县| 廉江市| 孟州市| 和林格尔县| 龙泉市| 韶山市| 岳西县| 攀枝花市| 翁源县| 遂宁市| 建瓯市| 万全县| 通州区|