向现有corda网络添加新节点



Am正在尝试用corda网络中的现有节点添加新节点。我做了文件。但无法实现。

  1. 这足以像文档中提到的那样用node.conf创建一个文件夹吗。如果它在运行引导程序时没有更新文件夹中的数据和信息。但我可以通过添加corda和带有node.conf文件的cordaWebserver来实现这一点
  2. 将新节点添加到网络时,来自现有节点的正在进行的事务会发生什么
  3. 我想将任何其他corda jar添加到新节点文件夹中的cordaps文件夹中吗?我检查了其他节点文件夹,在cordaps文件夹下发现了corda jar。在新的节点文件夹中没有这些jar可以吗

请注意-

  1. 新节点应具有与现有节点相同的文件夹结构
  2. Node.conf、证书、附加节点信息文件对于每个节点可能不同

如果您在开发模式下运行,则建议您使用"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。

最新更新