1 Star 0 Fork 1

danasmile/fabric-sdk-go-test

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.yaml 5.21 KB
一键复制 编辑 原始数据 按行查看 历史
房某人 提交于 2019-01-18 15:47 . init
version: 1.3.0
client:
organization: Org1
logging:
level: info
cryptoconfig:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config
credentialStore:
path: "/tmp/state-store"
cryptoStore:
path: /tmp/msp
BCCSP:
security:
enabled: true
default:
provider: "SW"
hashAlgorithm: "SHA2"
softVerify: true
level: 256
tlsCerts:
systemCertPool: false
client:
key:
path:
cert:
path:
channels:
mychannel:
peers:
peer0.org1.wnzx.com:
endorsingPeer: true
chaincodeQuery: true
ledgerQuery: true
eventSource: true
peer1.org1.wnzx.com:
endorsingPeer: true
chaincodeQuery: true
ledgerQuery: true
eventSource: true
peer0.org2.wnzx.com:
endorsingPeer: true
chaincodeQuery: true
ledgerQuery: true
eventSource: true
peer1.org2.wnzx.com:
endorsingPeer: true
chaincodeQuery: true
ledgerQuery: true
eventSource: true
organizations:
Org1:
mspid: Org1MSP
cryptoPath: peerOrganizations/org1.wnzx.com/users/{username}@org1.wnzx.com/msp
peers:
- peer0.org1.wnzx.com
- peer1.org1.wnzx.com
certificateAuthorities:
- ca.org1.wnzx.com
Org2:
mspid: Org2MSP
cryptoPath: peerOrganizations/org2.wnzx.com/users/{username}@org2.wnzx.com/msp
peers:
- peer0.org2.wnzx.com
- peer1.org2.wnzx.com
certificateAuthorities:
- ca.org2.wnzx.com
orderers:
orderer.wnzx.com:
url: orderer.wnzx.com:7050
grpcOptions:
ssl-target-name-override: orderer.wnzx.com
keep-alive-time: 0s
keep-alive-timeout: 20s
keep-alive-permit: false
fail-fast: false
allow-insecure: false
tlsCACerts:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/ordererOrganizations/wnzx.com/tlsca/tlsca.wnzx.com-cert.pem
peers:
peer0.org1.wnzx.com:
url: peer0.org1.wnzx.com:7051
grpcOptions:
ssl-target-name-override: peer0.org1.wnzx.com
keep-alive-time: 0s
keep-alive-timeout: 20s
keep-alive-permit: false
fail-fast: false
allow-insecure: false
tlsCACerts:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/peerOrganizations/org1.wnzx.com/tlsca/tlsca.org1.wnzx.com-cert.pem
peer1.org1.wnzx.com:
url: peer1.org1.wnzx.com:8051
grpcOptions:
ssl-target-name-override: peer1.org1.wnzx.com
keep-alive-time: 0s
keep-alive-timeout: 20s
keep-alive-permit: false
fail-fast: false
allow-insecure: false
tlsCACerts:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/peerOrganizations/org1.wnzx.com/tlsca/tlsca.org1.wnzx.com-cert.pem
peer0.org2.wnzx.com:
url: peer0.org2.wnzx.com:9051
grpcOptions:
ssl-target-name-override: peer0.org2.wnzx.com
keep-alive-time: 0s
keep-alive-timeout: 20s
keep-alive-permit: false
fail-fast: false
allow-insecure: false
tlsCACerts:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/peerOrganizations/org2.wnzx.com/tlsca/tlsca.org2.wnzx.com-cert.pem
peer1.org2.wnzx.com:
url: peer1.org2.wnzx.com:10051
grpcOptions:
ssl-target-name-override: peer1.org2.wnzx.com
keep-alive-time: 0s
keep-alive-timeout: 20s
keep-alive-permit: false
fail-fast: false
allow-insecure: false
tlsCACerts:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/peerOrganizations/org2.wnzx.com/tlsca/tlsca.org2.wnzx.com-cert.pem
certificateAuthorities:
ca.org1.wnzx.com:
url: https://ca.org1.wnzx.com:7054
tlsCACerts:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/peerOrganizations/org1.wnzx.com/tlsca/tlsca.org1.wnzx.com-cert.pem
client:
key:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/peerOrganizations/org1.wnzx.com/users/User1@org1.wnzx.com/tls/client.key
cert:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/peerOrganizations/org1.wnzx.com/users/User1@org1.wnzx.com/tls/client.crt
registrar:
enrollId: admin
enrollSecret: adminpw
caName: ca.org1.wnzx.com
ca.org2.wnzx.com:
url: https://ca.org2.wnzx.com:7054
tlsCACerts:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/peerOrganizations/org2.wnzx.com/tlsca/tlsca.org2.wnzx.com-cert.pem
client:
key:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/peerOrganizations/org2.wnzx.com/users/User1@org2.wnzx.com/tls/client.key
cert:
path: /home/fangdengfu/disk/golang/gopath/src/fabric-sdk-go-test/maiyi/e2e/channel/crypto-config/peerOrganizations/org2.wnzx.com/users/User1@org2.wnzx.com/tls/client.crt
registrar:
enrollId: admin
enrollSecret: adminpw
caName: ca.org2.wnzx.com
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/danasmile/fabric-sdk-go-test.git
git@gitee.com:danasmile/fabric-sdk-go-test.git
danasmile
fabric-sdk-go-test
fabric-sdk-go-test
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385