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

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.

主站蜘蛛池模板: 鹤峰县| 苍梧县| 林芝县| 黔西县| 依安县| 航空| 福建省| 正阳县| 丹江口市| 乐亭县| 襄汾县| 江陵县| 湖州市| 五大连池市| 沙坪坝区| 柳江县| 兴安县| 洪洞县| 大新县| 兰溪市| 西和县| 金昌市| 沐川县| 东兰县| 沁源县| 庐江县| 苍溪县| 稷山县| 富锦市| 泰和县| 舞阳县| 星子县| 繁峙县| 和顺县| 饶阳县| 内黄县| 桐城市| 金川县| 临高县| 古田县| 深州市|