Bitcoin blockchain structure code

Citation Author(s):
Wei
Ren
CUG(WuHan)
Xiaohan
Hao
CUG(WuHan)
Submitted by:
Xiaohan Hao
Last updated:
Wed, 12/12/2018 - 09:59
DOI:
10.21227/fvjd-vc14
License:
221 Views
Categories:
0
0 ratings - Please login to submit your rating.

Abstract 

Blockchain is a kind of distributed account book. It uses many cryptographic techniques to ensure the data security and not tampered with. In our uploaded dataset file, the block chain structure code is included.

Instructions: 

In our uploaded data set file, it contains effective hash, calculating block hash value, mining a block, calculating random value, adding effective block, point-to-point network, adding a node, node status, node information, communication between nodes, adding a node and adding a block, adding one node. Two nodes and two blocks are added. Code should run in JavaScript environment, and the specific meaning of the code is in the comments of the code.