我想在现有的corda网络中添加新的节点。
在使用corda network bootstrapper 4.0开源添加新节点时,ByteSequence不在白名单上或用@CordaSerializable注释的问题。
要添加一个新的节点到现有的网络,我按照下面的选项,这是建议在这里的链接 如何在现有的 corda 网络中添加一个新节点?
我使用了网络引导器 https:/docs.corda.netnetwork-bootstrapper.html。 (并正确地遵循文件)
当我运行以下错误时,我得到了
java -jar corda-tools-network-bootstrapper-4.0.jar --dir <nodes-root-dir>
命令。
错误:-
Loading existing network parameters... [ERROR] 14:57:27+0530 [main] amqp.DeserializationInput.log - Serialization failed direction="Deserialize",
type="java.lang.Comparable<net.corda.core.utilities.ByteSequence>",
msg="Class "java.lang.Comparable<net.corda.core.utilities.ByteSequence>" is not on the whitelist or annotated with @CordaSerializable.",
ClassChain="java.lang.Comparable<net.corda.core.utilities.ByteSequence>"
Class "java.lang.Comparable<net.corda.core.utilities.ByteSequence>" is not on the whitelist or annotated with @CordaSerializable
运行该命令后的结果:-
请帮助我们解决以下问题
看来你甚至不能成功引导网络。我建议你在我们最新版本的boot-strapper上试一试。https:/docs.corda.netdocscorda-os4.4network-bootstrapper.html。
人们使用 boot-strapter 的主要原因是为了远程启动一个模拟网络。理想的情况是,你将通过以下步骤来实现。