Code Monkey home page Code Monkey logo

fabric-sample's Introduction

环境

  • Hyperleger/fabric v1.4.4
  • Hyperleger/caliepr-cli v0.3.0
  • node v8.10.0
  • npm v5.6.0
  • docker 19.03.5
  • docker-compose 1.25.4

文件

chaincode/demo:       测试 chaincode
chaincode/callback:   hyperleger/caliper测试用例

pbft:                 可插拔 PBFT 共识算法简单实现
rbft:                 可插拔 RBFT 共识算法简单实现

solo-network:          solo共识配置
pbft-network:          pbft共识配置 
rbft-network:          rbft共识配置
multi-channel-network: solo多链配置

链码

函数 功能 参数
open 开户 账户名, 金额
query 查询 账户名
invoke 转账 账户名, 账户名, 金额
delete 销户 账户名

编译

编译 pbft 说明文件./pbft/doc.md

编译 rbft 说明文件./rbft/doc.md

测试

$ npx caliper launch master --caliper-workspace <pbft或rbft-network> --caliper-benchconfig benchmarks/config.yaml --caliper-networkconfig benchmarks/network.yaml

fabric-sample's People

Contributors

yezhengmao1 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.