# 配置项 ## 示例格式 ```json { "cmi":"", "debug":"", "disableDoRepo":false, "disableLocalLhs":false, "doipCertPath":"", "doipLhsAddress":"", "doipPort":-1, "doipUserHandle":"", "enableEventPersistence":false, "enableSsl":"./ssl/chained.pem:./ssl/domain.pem", "ip":"127.0.0.1", "isLAN":true, "overwrite":false, "servicePort":21030, "textFileSuffixes":".yjs,.json,.txt,.css,.js,.html,.md,.conf,.csv", "withBdledgerClient":"./runnable/bdledger_mac", "withBdledgerServer":false, "consistencyPlugins": "./libs/custom-plugin.jar" } ``` ## consistencyPlugins 配置 下述四项插件使用字符串分割,如需添加多项,以逗号分隔,在cmconfig.json里修改如: `````` "consistencyPlugins": "xxx/xxx.jar,xxx/xxx.jar" `````` ## 通讯插件配置 下述四项插件使用字符串分割,如需添加多项,在cmconfig.json里修改如: `````` "wsPluginActions": "org.bdware.metering.MeteringAction" `````` 1. wsPluginActions: WS端,包括contractManagerFrameHandler和CMHttpHandler 2. clientToAgentPlugins: client -> cluster 包括MasterClientFrameHandler 3. clientToClusterPlugins:[], client -> NodeCenterClientHandler 4. tcpPlugins:tcp 包括TcpserverFrameHandler