54 lines
1.0 KiB
YAML
54 lines
1.0 KiB
YAML
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" |