# BlockChain **Repository Path**: xiaoyan-yesok/BlockChain ## Basic Information - **Project Name**: BlockChain - **Description**: 一个基于区块链的存储系统,可以在多个节点(设备)中,为用户生成非对称加密的公私钥对,并使用此密钥对,对数据进行加密上传,和解密下载。 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-03-31 - **Last Updated**: 2022-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LightDisk The Times 03/Jan/2009 Chancellor on brink of second bailout for banks. #### Introduction What you see is a blockchain-based storage system. This system can generate a pair of public and private keys among multiple nodes(devices) through asymmetric encryption for users. Users then can use the pair to encrypt and upload data and decode and download them . #### Bug List 1.The inside and outside of the LAN interconnect with each other, which means NAT traversal isn't realized. 2.Live nodes are likely to be found dead in LAN. 3.The system so far has only supported the Coinbase.(General types of trade are being developed at present.) #### Software Architecture JDK 1.8+ Spring Boot 2.0.1 [Apache Gossip](https://gitee.com/TimVanX/incubator-retired-gossip) #### Tutorial for Installation 1.Command line interface: Configure JDK or JRE local environment variables (version 1.8+), unzip and run "open.bat". 2.Login interface:No war package now. You need to use Git to import this project into IntelliJ IDEA, run the com.timvanx.Application entry, start the Spring Boot project, with the default entry address http://localhost:8080/. #### Instructions ##### Command Line Interface 1.If no seed node exists, we can input '1' and set ourselves as the seed node. 2.If a seed node already exists, we can input'2'at first, and next the seed node's IP address and port number. ![Command Line Interface](https://images.gitee.com/uploads/images/2020/0528/114044_075ad114_1464254.jpeg "控制台.jpg") ##### Login Interface The basic functions have already been mentioned in the Instruction. ![Login](https://images.gitee.com/uploads/images/2020/0528/114151_cbbfbde0_1464254.jpeg "登录.jpg") ![Homepage](https://images.gitee.com/uploads/images/2020/0528/114205_bcc49299_1464254.jpeg "主页.jpg") ![Mining(Uploading Files)](https://images.gitee.com/uploads/images/2020/0528/114220_54149cad_1464254.jpeg "挖矿.jpg") ![New Block's Information](https://images.gitee.com/uploads/images/2020/0528/114240_7357a944_1464254.jpeg "新区块界面.jpg") #### Structure & Framework 1.Flow Chart ![Illustration for Input](https://images.gitee.com/uploads/images/2020/0528/121839_565cfe2a_1464254.jpeg "流程图‘.jpg") 2.Structure Chart(The blockchain's structure is similar to the bitcoin's data structure in that files serve as sources of node data of each merkle tree's leaves. ) ![Illustration for Input](https://images.gitee.com/uploads/images/2020/0528/121855_5fd1e006_1464254.jpeg "区块链结构图.jpg") 3.Technical Framework ![Illustration for Input](https://images.gitee.com/uploads/images/2020/0528/121904_40af6539_1464254.jpeg "技术框架.jpg") #### Contributors 1、TimVan