如何更改公证配置?

时间:2018-07-23 08:59:05

标签: corda

有任何有关基于node.conf或deployNodes启动分布式公证员的示例吗?可以看到吗?

node {
    name "O=Notary Pool,L=Sao Paolo,C=BR"
    notary = [validating : false, raft:[nodeAddress:"localhost:10020", clusterAddresses:["localhost:10023","localhost:10026","localhost:10029"]]]
    p2pPort 10002
    rpcSettings {
        address("localhost:10003")
        adminAddress("localhost:10043")
    }
    webPort 10004
    cordapps = ["net.corda:corda-finance:$corda_release_version"]
    rpcUsers = [[ user: "user1", "password": "test", "permissions": ["ALL"]]]
    extraConfig = [
            jvmArgs : [ "-Xmx1g"]
    ]
}

1 个答案:

答案 0 :(得分:0)

可以在notary-demo sample中找到定义和运行分布式公证服务的示例。

请注意,从Corda 3.1开始,使用npm install lodash --save npm install @types/lodash --save-dev // <<< Do I need this as separate import or not ?! 定义分布式公证服务的API尚未完成,应视为试验性的。