naivechain:200行代码的区块链实现

时间:2021-05-07 02:41:11
【文件属性】:
文件名称:naivechain:200行代码的区块链实现
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-07 02:41:11
Java 天真链 Naivechain-200行代码中的区块链实现。 快速开始 git clone https://github.com/sunysen/naivechain.git cd naivechain mvn clean install java -jar naivechain.jar 8080 7001 java -jar naivechain.jar 8081 7002 ws://localhost:7001 HTTP API 查询块 curl http://localhost:8080/blocks 地雷 curl --data "data=Some data to the first block" http://localhost:8080/mineBlock 添加同伴 curl --data "peer=ws://localhost:7001" http://localhost
【文件预览】:
naivechain-master
----src()
--------test()
--------main()
----README.md(628B)
----pom.xml(3KB)
----.gitignore(119B)

网友评论