当前位置 : 主页 > 编程语言 > java >

纯净版configtx.yaml文件

来源:互联网 收集:自由互联 发布时间:2022-06-23
Organizations: - OrdererOrg Name: OrdererOrg ID: OrdererMSP MSPDir: crypto-config/ordererOrganizations/example.com/msp - Org1 Name: Org1MSP ID: Org1MSP MSPDir: crypto-config/peerOrganizations/org1.example.com/msp AnchorPeers: - Host: peer0.
Organizations:

- &OrdererOrg
Name: OrdererOrg

ID: OrdererMSP

MSPDir: crypto-config/ordererOrganizations/example.com/msp

- &Org1
Name: Org1MSP

ID: Org1MSP

MSPDir: crypto-config/peerOrganizations/org1.example.com/msp

AnchorPeers:
- Host: peer0.org1.example.com
Port: 7051

- &Org2
Name: Org2MSP

ID: Org2MSP

MSPDir: crypto-config/peerOrganizations/org2.example.com/msp

AnchorPeers:
- Host: peer0.org2.example.com
Port: 7051
Capabilities:
Global: &ChannelCapabilities
V1_1: true

Orderer: &OrdererCapabilities
V1_1: true

Application: &ApplicationCapabilities
V1_2: true

Application: &ApplicationDefaults

Organizations:

Orderer: &OrdererDefaults

OrdererType: solo

Addresses:
- orderer.example.com:7050

BatchTimeout: 2s

BatchSize:

MaxMessageCount: 10

AbsoluteMaxBytes: 99 MB

PreferredMaxBytes: 512 KB

Kafka:
Brokers:
- 127.0.0.1:9092

Organizations:

Profiles:

TwoOrgsOrdererGenesis:
Capabilities:
<<: *ChannelCapabilities
Orderer:
<<: *OrdererDefaults
Organizations:
- *OrdererOrg
Capabilities:
<<: *OrdererCapabilities
Consortiums:
SampleConsortium:
Organizations:
- *Org1
- *Org2
TwoOrgsChannel:
Consortium: SampleConsortium
Application:
<<: *ApplicationDefaults
Organizations:
- *Org1
- *Org2
Capabilities:
<<: *ApplicationCapabilities


上一篇:纯净版crypto-config.yaml文件
下一篇:没有了
网友评论