首頁 > 計(jì)算機(jī)網(wǎng)絡(luò) >
編程語言與程序設(shè)計(jì)
> Learn Blockchain Programming with JavaScript最新章節(jié)目錄
舉報(bào)

會員
Learn Blockchain Programming with JavaScript
LearnBlockchainProgrammingwithJavaScriptbeginsbygivingyouaclearunderstandingofwhatblockchaintechnologyis.You’llthensetupanenvironmenttobuildyourveryownblockchainandyou’lladdvariousfunctionalitiestoit.Byaddingfunctionalitiestoyourblockchainsuchastheabilitytominenewblocks,createtransactions,andsecureyourblockchainthroughaproof-of-workyou’llgainanin-depthunderstandingofhowblockchaintechnologyfunctions.Asyoumakeyourwaythroughthechapters,you’lllearnhowtobuildanAPIservertointeractwithyourblockchainandhowtohostyourblockchainonadecentralizednetwork.You’llalsobuildaconsensusalgorithmanduseittoverifydataandkeeptheentireblockchainnetworksynchronized.Intheconcludingchapters,you’llfinishbuildingyourblockchainprototypeandgainathoroughunderstandingofwhyblockchaintechnologyissosecureandvaluable.Bytheendofthisbook,you'llunderstandhowdecentralizedblockchainnetworksfunctionandwhydecentralizationissuchanimportantfeatureforsecuringablockchain.
目錄(135章)
倒序
- coverpage
- Title Page
- About Packt
- Why subscribe?
- Packt.com
- Contributors
- About the author
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Conventions used
- Get in touch
- Reviews
- Setting up the Project
- What is a blockchain?
- What you will learn...
- Environment setup
- Project source code
- Summary
- Building a Blockchain
- Before we get building...
- An explanation of the JavaScript constructor function
- Explanation of the prototype object
- Blockchain constructor function
- Building the createNewBlock method
- Testing the createNewBlock method
- Testing the Blockchain constructor function
- Testing the createNewBlock method
- Building the getLastBlock method
- Creating the createNewTransaction method
- Testing the createNewTransaction method
- Adding a pending transaction to our blockchain
- Hashing the data
- Understanding the SHA256 hashing function
- The hashBlock method
- Testing the hashBlock method
- What is a Proof of Work?
- Creating the proofOfWork method
- Testing the proofOfWork method
- Creating a genesis block
- Testing the genesis block
- Summary
- Accessing the Blockchain through an API
- Setting up Express.js
- Installing Express.js
- Using Express.js
- Building the API foundation
- Installing Postman and body-parser
- Installing Postman
- Building the /blockchain endpoint
- Testing the /blockchain endpoint
- Building the /transaction endpoint
- Testing the /transaction endpoint
- Building the /mine endpoint
- Testing the endpoints
- /mine endpoint testing
- Testing the / blockchain endpoint
- Testing the /transaction endpoint
- Summary
- Creating a Decentralized Blockchain Network
- Creating multiple nodes
- Running multiple instances of networkNode.js
- Testing the multiple nodes
- Adding the currentNodeUrl
- New endpoints outline
- Defining the /register-and-broadcast-node endpoint
- Creating the /register-node endpoint
- The difference between register-and-broadcast-node and register-node endpoint
- Defining the /register-nodes-bulk endpoint
- Understanding how all of the endpoints work together
- Building the /register-and-broadcast-node endpoint
- Continuing to work on the /register-and-broadcast-node endpoint
- A quick recap of how the register-and-broadcast-node endpoint functions
- Building the /register-node endpoint
- Testing the /register-node endpoint
- Installing the request library
- Endpoint testing
- Building the /register-nodes-bulk endpoint
- Testing the /register-nodes-bulk endpoint
- Testing all of the network endpoints
- Summary
- Synchronizing the Network
- Understanding the need to synchronize the network
- Refactoring the createNewTransaction method and the /transaction endpoint
- Modifications to the createNewTransaction method
- Building the addTransactionToPendingTransactions method
- Building the /transaction/broadcast endpoint
- Refactoring the /transaction endpoint
- Testing the transaction endpoints
- Recapping how to create the network
- Testing the transaction endpoints
- Updating the mining information
- The updated mining process
- Refactoring the /mine endpoint
- Building the /receive-new-block endpoint
- Testing the new and updated /mine endpoints
- Summary
- Consensus Algorithms
- What is the consensus algorithm ?
- Building the chainIsValid method
- Testing the chainIsValid method
- Verifying the output of the test
- A tiny modification to verify the results properly
- Building the /consensus endpoint
- Quick review of the build process
- Testing the /consensus endpoint
- Summary
- Block Explorer
- What is a block explorer?
- Defining the block explorer endpoints
- Building the getBlock method
- Building the /block/:blockHash endpoint
- Testing the /block/:blockHash endpoint
- Defining the getTransaction method
- Building the /transaction/:transactionId endpoint
- Testing the /transaction/:transactionId endpoint
- Adding new transactions and blocks to the blockchain
- Testing the endpoint
- Building the getAddressData method
- Knowing the balance
- Developing the /address/:address endpoint
- Testing the /address/:address endpoint
- Adding the block explorer file
- Building the /block-explorer endpoint
- Block explorer file explanation
- Testing our block explorer
- Summary
- In conclusion...
- A quick review
- Areas of improvement
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時(shí)間:2021-06-10 18:41:08
推薦閱讀
- 數(shù)據(jù)庫原理及應(yīng)用(Access版)第3版
- AWS Serverless架構(gòu):使用AWS從傳統(tǒng)部署方式向Serverless架構(gòu)遷移
- Learning Bayesian Models with R
- concrete5 Cookbook
- Mastering JavaScript Design Patterns(Second Edition)
- 基于Struts、Hibernate、Spring架構(gòu)的Web應(yīng)用開發(fā)
- PHP編程基礎(chǔ)與實(shí)例教程
- NGINX Cookbook
- 精通MySQL 8(視頻教學(xué)版)
- 大學(xué)計(jì)算機(jī)基礎(chǔ)實(shí)訓(xùn)教程
- C# 7.0本質(zhì)論
- Java Web開發(fā)基礎(chǔ)與案例教程
- Web開發(fā)新體驗(yàn)
- C語言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)與習(xí)題精解
- Web前端開發(fā)技術(shù)實(shí)踐指導(dǎo)教程
- 匯編語言程序設(shè)計(jì)
- 實(shí)戰(zhàn)圖解MACD波段交易技術(shù)
- Instant PhoneGap
- 活動中臺:揭秘vivo的千萬級DAU活動中臺
- Mastering Python Data Analysis
- IBM AIX 5L/v6系統(tǒng)管理指南
- JSP程序設(shè)計(jì)實(shí)訓(xùn)與案例教程(第2版)
- Elasticsearch技術(shù)解析與實(shí)戰(zhàn)
- 青少年學(xué)三維圖形化編程
- 技術(shù)轉(zhuǎn)移:就這么干
- PHP+MySQL動態(tài)網(wǎng)頁設(shè)計(jì)
- Python基礎(chǔ)教程
- Java寶典
- Visual Basic程序設(shè)計(jì)
- Mastering AngularJS Directives