chain_client:
# 链ID
chain_id: "c1653448422121"
# 组织ID
org_id: "hc-org8"
# 客户端用户私钥路径
user_key_file_path: "./cert/tls.key"
# 客户端用户证书路径
user_crt_file_path: "./cert/tls.crt"
# 客户端用户交易签名私钥路径(若未设置,将使用user_key_file_path)
user_sign_key_file_path: "./cert/sign.key"
# 客户端用户交易签名证书路径(若未设置,将使用user_crt_file_path)
user_sign_crt_file_path: "./cert/sign.crt"
# 同步交易结果模式下,轮训获取交易结果时的最大轮训次数,删除此项或设为<=0则使用默认值 10
retry_limit: 10
# 同步交易结果模式下,每次轮训交易结果时的等待时间,单位:ms 删除此项或设为<=0则使用默认值 500
retry_interval: 500
nodes:
- # 节点地址,格式为:IP:端口:连接数
node_addr: "localhost:42535"
# 节点连接数
conn_cnt: 10
# RPC连接是否启用双向TLS认证
enable_tls: true
# 信任证书池路径
trust_root_paths:
- "./cert"
# TLS hostname
tls_host_name: "hc-org8-node1"
rpc_client:
# grpc客户端最大接受容量(MB)
max_receive_message_size: 16
# grpc客户端最大发送容量(MB) 使用vm-docker-go默认只有4MB
max_send_message_size: 16
# 硬件加密虽然用不着但是必须得有
pkcs11:
enabled: false # pkcs11 is not used by default
library: /usr/local/lib64/pkcs11/libupkcs11.so # path to the .so file of pkcs11 interface
label: HSM # label for the slot to be used
password: 11111111 # password to logon the HSM(Hardware security module)
session_cache_size: 10 # size of HSM session cache, default to 10
hash: "SHA256" # hash algorithm used to compute SKI
长安链SDK端配置文件
最新推荐文章于 2023-04-18 16:22:41 发布