sample_chain/config/config.yaml

54 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

block:
# 区块大小
blksize: 50
# 区块的生成时间单位ms
createBlockTime: 300
# 是否查看状态数据库
showStateDB: true
# 是否查看区块链账本数据库
showBlockchainDB: true
config:
# 地址数量
addrNum: 1000
# 发送的事务数量
txNum: 1000
# 发送事务时的偏斜度
skewness: 1
# 发送事务的读占比
ratio: 0.5
# 是否限制发送速率
isLimited: false
# 发送速率(单位:个/每秒)
rate: 35000
# 合约名(目前只支持 SmallBank 和 KvStore 两个合约)
contractName: "SmallBank"
organizations:
- name: org1
ports:
- ":1408"
# - ":1408"
# - name: org2
# ports:
# - ":1408"
client:
MSPID: "*.wxy.com"
IdentityPath: "cert/client.pem"
KeyPath: "cert/client.key"
peer:
address: ":1408"
MSPID: "*.wxy.com"
IdentityPath: "cert/peer.pem"
KeyPath: "cert/peer.key"
order:
address: ":1409"
MSPID: "*.wxy.com"
IdentityPath: "cert/order.pem"
KeyPath: "cert/order.key"
ca:
crt: "cert/ca.crt"