Coder Social home page Coder Social logo

helloworldblockchain's Introduction

这是一个Helloworld级别的区块链系统,即一个简单的数字货币系统。

它包含了五个模块。
helloworld-blockchain-node:区块链节点,主要负责与其它节点沟通。启动区块链节点后,自动在整个区块链网络中寻找/发布:节点、区块、交易。
helloworld-blockchain-admin-node:区块链节点。启动区块链节点后,在浏览器输入 http://localhost:8555/ 进入区块链系统的控制面板,在控制面板即可从揽全局,并控制这个区块链系统。例如增删节点、提交交易至区块链网络等。
helloworld-blockchain-core:该模块是整个区块链系统的核心:实现了秘钥体系、挖矿、区块校验、同步其它节点的区块的逻辑。
helloworld-blockchain-dto:DTO包,该包中的类都是以字段最少为设计目标,用于在区块链网络中的不同节点传输区块数据。
helloworld-blockchain-model:区块链系统内部使用的model类,字段有冗余,但是用起来十分方便。

helloworld-blockchain-node模块的打包与发布 打包
cd helloworld-blockchain-node
mvn -Dmaven.test.skip=true clean package install spring-boot:repackage assembly:single
启动
cd target tar -zxvf helloworld-blockchain-node-*.tar.gz cd HelloworldBlockchainNode ./start.sh restart

helloworldblockchain's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.