fabric1

module
v0.0.0-...-5e9bd76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2020 License: Apache-2.0

README

学习Hyperledger Fabric 实战联盟链

课程材料

所有的材料都放在imocc目录

application

实战项目

chaincode

课程中编写的链码

  • assetsExchange: 资产交易平台链码
  • badexample: 一个错误的示范例子
deploy

fabric部署脚本目录

docs

课外教辅材料

images

一些架构图

项目结构

bccsp

密码学:加密、签名以及证书等等

bddtests

行为驱动开发

需求 概要设计 详细设计 开发 需求 开发

common

公共库

  • 错误处理
  • 日志处理
  • 账本存储
  • 各种工具
  • ...
core

核心库,组件核心逻辑

devenv

开发环境、Vagrant

docs

文档相关

events

事件监听机制

examples

一些例子

gossip

最终一致性共识算法,用于组织内部区块同步

images

docker镜像打包

msp

成员服务管理 member service provider

orderer

排序节点入口

peer

peer节点入口

proposals

新功能提案

protos

grpc: protobuffer + rpc jsonrpc: json + rpc

Note: This is a read-only mirror of the formal Gerrit repository, where active development is ongoing. Issue tracking is handled in Jira

Status

This project is an Active Hyperledger project. For more information on the history of this project see the Fabric wiki page. Information on what Active entails can be found in the Hyperledger Project Lifecycle document.

Build Status CII Best Practices Go Report Card GoDoc Documentation Status

Hyperledger Fabric

Hyperledger Fabric is a platform for distributed ledger solutions, underpinned by a modular architecture delivering high degrees of confidentiality, resiliency, flexibility and scalability. It is designed to support pluggable implementations of different components, and accommodate the complexity and intricacies that exist across the economic ecosystem.

Hyperledger Fabric delivers a uniquely elastic and extensible architecture, distinguishing it from alternative blockchain solutions. Planning for the future of enterprise blockchain requires building on top of a fully-vetted, open source architecture; Hyperledger Fabric is your starting point.

Documentation, Getting Started and Developer Guides

Please visit our online documentation for information on getting started using and developing with the fabric, SDK and chaincode.

It's recommended for first-time users to begin by going through the Getting Started section of the documentation in order to gain familiarity with the Hyperledger Fabric components and the basic transaction flow.

Contributing

We welcome contributions to the Hyperledger Fabric Project in many forms. There’s always plenty to do! Check the documentation on how to contribute to this project for the full details.

Community

Hyperledger Community

Hyperledger mailing lists and archives

Hyperledger Chat

Hyperledger Fabric Issue Tracking

Hyperledger Wiki

Hyperledger Code of Conduct

Community Calendar

License

Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.

Directories

Path Synopsis
sw
common
config
Note, the directory is still configvalues, but this is stuttery and config is a more accurate and better name, TODO, update directory
Note, the directory is still configvalues, but this is stuttery and config is a more accurate and better name, TODO, update directory
tools/protolator/testprotos
Package testprotos is a generated protocol buffer package.
Package testprotos is a generated protocol buffer package.
chaincode/shim
Package shim provides APIs for the chaincode to access its state variables, transaction context and call other chaincodes.
Package shim provides APIs for the chaincode to access its state variables, transaction context and call other chaincodes.
scc
scc/cscc
Package cscc chaincode configer provides functions to manage configuration transactions as the network is being reconfigured.
Package cscc chaincode configer provides functions to manage configuration transactions as the network is being reconfigured.
events
examples
chaincode/go/chaincode_example03
This program is an erroneous chaincode program that attempts to put state in query context - query should return error
This program is an erroneous chaincode program that attempts to put state in query context - query should return error
chaincode/go/utxo/util
Package util is a generated protocol buffer package.
Package util is a generated protocol buffer package.
api
imocc
msp
configupdate
configupdate is an implementation of the broadcast.Proccessor interface It facilitates the preprocessing of CONFIG_UPDATE transactions which can generate either new CONFIG transactions or new channel creation ORDERER_TRANSACTION messages.
configupdate is an implementation of the broadcast.Proccessor interface It facilitates the preprocessing of CONFIG_UPDATE transactions which can generate either new CONFIG transactions or new channel creation ORDERER_TRANSACTION messages.
protos
common
Package common is a generated protocol buffer package.
Package common is a generated protocol buffer package.
gossip
Package gossip is a generated protocol buffer package.
Package gossip is a generated protocol buffer package.
ledger/queryresult
Package queryresult is a generated protocol buffer package.
Package queryresult is a generated protocol buffer package.
ledger/rwset
Package rwset is a generated protocol buffer package.
Package rwset is a generated protocol buffer package.
ledger/rwset/kvrwset
Package kvrwset is a generated protocol buffer package.
Package kvrwset is a generated protocol buffer package.
msp
Package msp is a generated protocol buffer package.
Package msp is a generated protocol buffer package.
orderer
Package orderer is a generated protocol buffer package.
Package orderer is a generated protocol buffer package.
peer
Package peer is a generated protocol buffer package.
Package peer is a generated protocol buffer package.
test
chaincodes/AutoVendor/directdep
* Copyright Greg Haskins All Rights Reserved * * SPDX-License-Identifier: Apache-2.0 * * See github.com/hyperledger/fabric/test/chaincodes/AutoVendor/chaincode/main.go for details
* Copyright Greg Haskins All Rights Reserved * * SPDX-License-Identifier: Apache-2.0 * * See github.com/hyperledger/fabric/test/chaincodes/AutoVendor/chaincode/main.go for details
chaincodes/AutoVendor/indirectdep
* Copyright Greg Haskins All Rights Reserved * * SPDX-License-Identifier: Apache-2.0 * * See github.com/hyperledger/fabric/test/chaincodes/AutoVendor/chaincode/main.go for details
* Copyright Greg Haskins All Rights Reserved * * SPDX-License-Identifier: Apache-2.0 * * See github.com/hyperledger/fabric/test/chaincodes/AutoVendor/chaincode/main.go for details

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL