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

What this book covers

Chapter 1, Setting Up the Projectcovers what a blockchain actually is and enables readers to understand how it functions. Then, you'll get to learn how to set up a project in order to create your very own blockchain.

Chapter 2, Building a Blockchaincovers how to add various functionalities to your blockchain. You will implement the functionalities in the blockchain, creating some amazing methods such as createNewBlock, creatNewTransaction, and getLastBlock. Once these methods are added to the blockchain, you will test them to verify that they are working perfectly. Also, you'll get to learn about the hashing method, that is, SHA256 hashing, and then implement a method to generate a hash for your block data. Also, you'll get to explore what a proof of work is, how it benefits the blockchain, and how to implement it. 

Chapter 3, Accessing the Blockchain through an API, explains how to set up Express.js in your project, as well as how to use it to build the API/server. Then, you will build various server endpoints for your blockchain and test these endpoints to verify whether or not they are working properly.

Chapter 4, Creating a Decentralized Blockchain Network, covers how to set up a decentralized network for your blockchain. In this chapter, you will get to learn a lot of new concepts related to how to set up various nodes and interconnect them to form a network. You'll also define various endpoints, such as /register-and-broadcast-node, /register-node, and /register-nodes-bulk. These endpoints will assist you in implementing the decentralized blockchain network. 

Chapter 5, Synchronizing the Networkexplains how to synchronize the entire decentralized blockchain network so as to have the same transaction data and blocks on all the nodes in the blockchain. You'll implement network synchronization by refactoring the endpoints to broadcast the data to all the nodes present in the network.

Chapter 6, Consensus Algorithmexplains how to build your own consensus algorithm, which implements the longest chain rule. Through implementing this algorithm, you will have built a blockchain that is similar to a real-life blockchain. 

Chapter 7, Block Explorerexplains how to build an amazing user interface to explore the blockchain that you have built over the course of the book.

Chapter 8, In Conclusion..., provides a quick summary of everything you will have learned throughout the course of this book. You will also explore what more you can do to improve the blockchain that you have developed.

主站蜘蛛池模板: 晋城| 密云县| 富阳市| 乐至县| 乐至县| 扎赉特旗| 平谷区| 长宁区| 长武县| 德化县| 西和县| 泽普县| 临高县| 宁都县| 嘉祥县| 德化县| 绵阳市| 扬州市| 汉源县| 和田县| 虎林市| 郓城县| 从化市| 呈贡县| 太仆寺旗| 庐江县| 洞头县| 巍山| 沧州市| 溧阳市| 嘉荫县| 永吉县| 曲阳县| 通化市| 定西市| 宝鸡市| 潼关县| 桐柏县| 玉环县| 赣榆县| 叙永县|