找不到网络参数文件,并且兼容区域未配置/无法访问 [英] Couldn't find network parameters file and compatibility zone wasn't configured/isn't reachable
问题描述
我正在尝试手工制作具有以下内容的Node文件夹-Corda.jar(1.4),Node.conf,cordapp(文件夹)。
I am trying to handcraft a Node folder with following contents - Corda.jar (1.4), Node.conf, cordapp (Folder).
在节点启动时收到以下错误(java -jar ./Corda.jar)
Receiving following error on Node startup (java -jar ./Corda.jar)
Logs can be found in :
! ATTENTION: This node is running in development mode! This is not safe for production deployment.
[ERROR] 15:20:24-0400 [main] internal.NodeStartupLogging.invoke - Exception during node startup: Couldn't find network parameters file and compatibility zone wasn't configured/isn't reachable. [errorCode=1917kd6, moreInformationAt=https://errors.corda.net/OS/4.0/1917kd6]
以下是Node.conf文件的内容:
Following are the contents of Node.conf file :
devMode=true
myLegalName="O=PartyA,L=London,C=GB"
p2pAddress="localhost:10014"
rpcSettings {
address="localhost:10015"
adminAddress="localhost:10016"
}
security {
authService {
dataSource {
type=INMEMORY
users=[
{
password=test1
permissions=[
ALL
]
user=user1
}
]
}
}
}
预期:节点启动
实际:例外(上述)
推荐答案
如Florian所述,您可以使用corda网络引导程序创建本地可运行的Corda环境。
As Florian mentioned, you can use the corda network bootstrapper to create a local run-able Corda environment.
可在此处随意使用该指南:> https://docs.corda.net/docs/corda-os/4.4/network-bootstrapper.html
Feel free to flow the guide here: https://docs.corda.net/docs/corda-os/4.4/network-bootstrapper.html
手动制作节点文件夹的问题是,您将遇到证书,网络参数等非常复杂的过程。
The issue with handcraft the node folders yourself is that you will run into very complicated process of certificates, network parameters, and etc.
这篇关于找不到网络参数文件,并且兼容区域未配置/无法访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!