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

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.

主站蜘蛛池模板: 连州市| 新泰市| 特克斯县| 永年县| 大埔区| 宁南县| 务川| 宁明县| 江永县| 香港 | 西和县| 仲巴县| 馆陶县| 郎溪县| 文昌市| 桦南县| 大竹县| 曲阜市| 新晃| 新河县| 诸暨市| 昭苏县| 堆龙德庆县| 辉县市| 湖口县| 天门市| 龙岩市| 乌拉特前旗| 枣阳市| 浑源县| 尼玛县| 周宁县| 古田县| 东丽区| 宁明县| 建湖县| 延吉市| 平武县| 平凉市| 固阳县| 枣强县|