【问题标题】:Adding new node to existing corda network将新节点添加到现有的 Corda 网络
【发布时间】:2019-03-30 06:36:25
【问题描述】:

我正在尝试在 Corda 网络中使用现有节点添加新节点。我做了文档。但无法实现。

  1. 这是否足以创建一个带有 node.conf 的文件夹,如文档中所述。如果那么它在运行引导程序时没有更新文件夹中的数据和信息。但是我可以通过在 node.conf 文件中添加corda和corda webserver来实现这一点。
  2. 在向网络添加新节点时,来自现有节点的正在进行的交易会发生什么?
  3. 是否要将任何其他corda jar 添加到新节点文件夹中存在的cordapps 文件夹中?我检查了其他节点文件夹,并在 cordapps 文件夹下找到了 corda jars。在新节点文件夹中没有这些 jar 可以吗?

【问题讨论】:

    标签: corda


    【解决方案1】:

    请注意——

    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.
    

    Ans:您可能必须将其他节点中存在的corda jar 复制到新节点。

    2. What will happen to ongoing transactions from the existing node while adding the new node to the network?
    

    Ans:在升级节点或其上的应用程序之前,必须将节点置于 Draining 模式。这会使当前运行的流程平稳停止,以便现有工作完成,新工作正在排队而不是被处理。

    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?
    

    Ans: No. 新节点应该有其他节点中存在的所有corda jars。

    【讨论】:

      猜你喜欢
      • 2020-04-17
      • 2018-11-15
      • 1970-01-01
      • 2019-12-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多