正在尝试在Corda网络中使用现有节点添加新节点。我做了文档。但是无法实现。
答案 0 :(得分:0)
请注意-
如果您以开发人员模式运行,则建议您使用“ gradlew.bat deployNodes” 命令重新创建网络。这将重新部署包括新节点在内的所有节点。
如果您在生产模式下运行,那么您已经使用了网络映射-“ https://docs.corda.net/network-map.html”。
1. Is that enough to create a folder with node.conf as mentioned in documents. If then its not updating the data and info in the folder while running bootstrapper. But I can achieve this by adding corda and corda webserver with node.conf file.
回答:您可能必须将其他节点中存在的Corda jar复制到新节点。
2. What will happen to ongoing transactions from the existing node while adding the new node to the network?
回答:在升级节点或节点上的应用程序之前,必须将节点置于排水模式。这样可以使当前正在运行的Flow平稳停止,以使现有工作完成并且新工作正在排队而不是被处理。
https://docs.corda.net/node-upgrade-notes.html?highlight=draining
3. Do I want to add any other corda jar to the cordapps folder which is present in the new node folder? I checked in other node folder and found corda jars under cordapps folder. Is that fine to not having those jars in new node folder?
回答:否。新节点应在其他节点中包含所有Corda jar。