在Corda`devMode`中,创建或更新CorDapp之后是否必须重新运行引导程序? [英] In Corda `devMode`, do I have to rerun the bootstrapper after creating or updating a CorDapp
问题描述
我正在使用网络引导程序在 devMode
中运行Corda网络.
I am running a Corda network in devMode
using the Network Bootstrapper.
如果我创建一个新的CorDapp JAR/更新一个现有的CorDapp JAR,并且想要将其部署到网络中,该如何进行?是否足以停止每个节点,将JAR添加到每个节点的 cordapps
文件夹,然后重新启动节点?还是我必须重新运行引导程序?
If I create a new CorDapp JAR/update an existing CorDapp JAR, and want to deploy it to the network, how do I proceed? Is it enough to stop each node, add the JAR to each node's cordapps
folder, and restart the nodes? Or do I have to rerun the bootstrapper?
推荐答案
您将需要重新运行引导程序,以更新 NetworkParameters
中的 whitelistedContractImplementations
.参见 https://docs.corda.net/head/network-bootstrapper.html#updating-the-contract-whitelist-for-bootstrapped-网络.
You will need to rerun the bootstrapper to update the whitelistedContractImplementations
in the NetworkParameters
. See https://docs.corda.net/head/network-bootstrapper.html#updating-the-contract-whitelist-for-bootstrapped-networks.
这篇关于在Corda`devMode`中,创建或更新CorDapp之后是否必须重新运行引导程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!