blockchain_trace:区块链溯源系统-源码

上传者: 42165508 | 上传时间: 2021-09-22 11:01:28 | 文件大小: 177KB | 文件类型: ZIP
基于HyberLedger fabric的区块链链溯源系统 部署预算说明 由于机器,和ip有限以及部署的复杂度,将采用单机部署,为节约资源采用docker容器代替虚拟机,每个端口即是一个docker容器服务。 官员端口 订购者:7050 商家组织 公告0: 发布7051 监听7053 数据库5984 官员1: 发布10051 监听10053 数据库7984 区块链操作 区块链操作即是通过sdk发布进行(公钥证书,私钥签名),通知订购者预先准备投票 各股东收到的区块链信息->验证->提交(即投票) 添加奶粉信息 加工奶粉 检测奶粉 删除奶粉 修改奶粉数据 流程演示 区块链信息 总共23个区块链,可看到最新区块链哈希和前一区块哈希 添加奶粉 添加一个所有者为haunxi,id为2,重量为500g的奶粉,可看到交易id 组织1的peer0日志 组织1的peer1日志 组织2的peer0日志 组织

文件下载

资源详情

[{"title":"( 80 个子文件 177KB ) blockchain_trace:区块链溯源系统-源码","children":[{"title":"blockchain_trace-master","children":[{"title":"sdk","children":[{"title":"pom.xml <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"mvnw <span style='color:#111;'> 8.90KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"cn","children":[{"title":"huse","children":[{"title":"trace","children":[{"title":"TraceApplicationTests.java <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"Test.java <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"application.yml <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"logback-spring.xml <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"cn","children":[{"title":"huse","children":[{"title":"trace","children":[{"title":"sdk","children":[{"title":"Functions.java <span style='color:#111;'> 330B </span>","children":null,"spread":false},{"title":"trace","children":[{"title":"FabricStore.java <span style='color:#111;'> 6.14KB </span>","children":null,"spread":false},{"title":"FabricConfig.java <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"Location.java <span style='color:#111;'> 997B </span>","children":null,"spread":false},{"title":"bean","children":[{"title":"Orderers.java <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"Chaincode.java <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"Peers.java <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"FabricUser.java <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false},{"title":"FabricManager.java <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false},{"title":"ChaincodeManager.java <span style='color:#111;'> 23.12KB </span>","children":null,"spread":false},{"title":"FabricOrg.java <span style='color:#111;'> 10.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"util","children":[{"title":"StringUtil.java <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"DateUtil.java <span style='color:#111;'> 5.41KB </span>","children":null,"spread":false},{"title":"MD5Helper.java <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"TraceApplication.java <span style='color:#111;'> 773B </span>","children":null,"spread":false},{"title":"web","children":[{"title":"response","children":[{"title":"model","children":[{"title":"BlockChainInfoModel.java <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"BlockInfoModel.java <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"EnvelopeModel.java <span style='color:#111;'> 4.69KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"dao","children":[{"title":"BaseDao.java <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"UserDao.java <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"FabricDao.java <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"TransactionDao.java <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"DaoException.java <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"ProjectDao.java <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"parsetoken","children":[{"title":"ParseTokenResolver.java <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"ParseToken.java <span style='color:#111;'> 246B </span>","children":null,"spread":false}],"spread":false},{"title":"SwaggerConfig.java <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"BeenConfig.java <span style='color:#111;'> 362B </span>","children":null,"spread":false}],"spread":false},{"title":"cache","children":[{"title":"RedisDao.java <span style='color:#111;'> 6.94KB </span>","children":null,"spread":false},{"title":"CacheHelper.java <span style='color:#111;'> 828B </span>","children":null,"spread":false}],"spread":false},{"title":"common","children":[{"title":"Constants.java <span style='color:#111;'> 115B </span>","children":null,"spread":false},{"title":"auth","children":[{"title":"verify","children":[{"title":"exception","children":[{"title":"AuthenticationException.java <span style='color:#111;'> 267B </span>","children":null,"spread":false}],"spread":false},{"title":"AuthenticatorImp.java <span style='color:#111;'> 738B </span>","children":null,"spread":false},{"title":"Authenticator.java <span style='color:#111;'> 311B </span>","children":null,"spread":false}],"spread":false},{"title":"jwt","children":[{"title":"exception","children":[{"title":"JwtParseException.java <span style='color:#111;'> 225B </span>","children":null,"spread":false}],"spread":false},{"title":"JwtConfig.java <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"JwtUser.java <span style='color:#111;'> 260B </span>","children":null,"spread":false},{"title":"JwtUserTokenUtil.java <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"PageResult.java <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"QueryResult.java <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"ReturnMessage.java <span style='color:#111;'> 843B </span>","children":null,"spread":false},{"title":"ReturnMessageMap.java <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"Utils.java <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"ResultCode.java <span style='color:#111;'> 723B </span>","children":null,"spread":false}],"spread":false},{"title":"controller","children":[{"title":"blocknet","children":[{"title":"BlockChainController.java <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"BlockController.java <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false}],"spread":false},{"title":"home","children":[{"title":"PublicController.java <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"UserController.java <span style='color:#111;'> 5.96KB </span>","children":null,"spread":false},{"title":"ProjectController.java <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"service","children":[{"title":"TransactionService.java <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"UserService.java <span style='color:#111;'> 904B </span>","children":null,"spread":false},{"title":"ProjectService.java <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"entity","children":[{"title":"User.java <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"Transaction.java <span style='color:#111;'> 618B </span>","children":null,"spread":false},{"title":"BaseEntity.java <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"Project.java <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"mvnw.cmd <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"blokinfo","children":[{"title":"vue.config.js <span style='color:#111;'> 637B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 400.54KB </span>","children":null,"spread":false},{"title":"blokinfo.iml <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"App.vue <span style='color:#111;'> 15.88KB </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"logo.png <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"pages","children":[{"title":"Index.vue <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.js <span style='color:#111;'> 261B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"index.html <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":"babel.config.js <span style='color:#111;'> 53B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明