官术网_书友最值得收藏!

  • Hyperledger Cookbook
  • Xun (Brian) Wu Chuanfeng Zhang Andrew Zhang
  • 157字
  • 2021-06-24 14:59:35

There's more...

The following block shows the org3-crypto.yaml section for Org3:

# --------------------------------------------------------------------------
# "PeerOrgs" - Definition of organizations managing peer nodes
# ---------------------------------------------------------------------------
PeerOrgs:
# ---------------------------------------------------------------------------
# Org3
# ---------------------------------------------------------------------------
- Name: Org3
Domain: org3.example.com
EnableNodeOUs: true
Template:
Count: 2
Users:
Count: 1

The following block shows the configtx.yaml section for Org3:

#################################################################################
# Section: Organizations
#
# - This section defines the different organizational identities which will
# be referenced later in the configuration.
#
################################################################################
Organizations:
- &Org3
# DefaultOrg defines the organization which is used in the sampleconfig
# of the fabric.git development environment
Name: Org3MSP
# ID to load the MSP definition as
ID: Org3MSP
MSPDir: crypto-config/peerOrganizations/org3.example.com/msp
AnchorPeers:
# AnchorPeers defines the location of peers which can be used for cross org gossip #communication. Note, this value is only
# encoded in the genesis block in the Application section context
- Host: peer0.org3.example.com
Port: 7051

In the next recipe, we will look at how smart contracts work with CouchDB.

主站蜘蛛池模板: 昭平县| 麻阳| 莱芜市| 永靖县| 怀来县| 伽师县| 石棉县| 甘肃省| 曲靖市| 西林县| 十堰市| 新野县| 双桥区| 亳州市| 赤峰市| 东源县| 扬中市| 叶城县| 武城县| 温泉县| 宜章县| 乌拉特中旗| 七台河市| 太谷县| 合川市| 碌曲县| 舒城县| 利辛县| 韶山市| 德格县| 武强县| 井研县| 航空| 吐鲁番市| 平乡县| 永丰县| 嘉鱼县| 随州市| 合山市| 海南省| 会宁县|