我们的团队正试图执行
`java -jar network-bootstrapper.jar <nodes-root-dir>` 引导Corda节点。关于引导网络的文档指示读者:
To use it, create a directory containing a node.conf file for each node >you want to create. Then run the following command:
java -jar network-bootstrapper.jar <nodes-root-dir>
For example running the command on a directory containing these files :
.
├── notary.conf // The notary's node.conf file
├── partya.conf // Party A's node.conf file
└── partyb.conf // Party B's node.conf file
Would generate directories containing three nodes: notary, partya and partyb.我们有
java -jar network-bootstrapper.jar <nodes-root-dir>这将导致“没有找到节点”。
发布于 2018-03-19 17:59:32
回顾NetworkBootstrapper源代码,我们意识到文档是不正确的..。
发布于 2018-03-20 12:00:11
引导程序报告了No nodes found,因为节点的node.conf文件没有以_node.config后缀结束。文档正在更新,以反映此拉请求中的这一要求: github.com/corda/corda/ pull /2848。
evh69 69的答案中列出的第一步--将Corda JAR放在节点文件夹中--是不必要的。引导程序将根据需要自动提取自己的Corda JAR副本。
https://stackoverflow.com/questions/49369367
复制相似问题