使用Corda OS v3.x和网络引导程序更改maxTransactionSize [英] Changing the maxTransactionSize using Corda OS v3.x with network bootstrapper
问题描述
我们可以使用网络引导程序在Corda OS v3.x中更改maxTransactionSize吗?
Can we change maxTransactionSize in Corda OS v3.x with network bootstrapper?
maxTransactionSize的默认值是525MB吗?按照下面的代码?
Also the default value of maxTransactionSize is 525MB? as per the below code? https://github.com/corda/corda/blob/master/node-api/src/main/kotlin/net/corda/nodeapi/internal/network/NetworkBootstrapper.kt#L420
推荐答案
从Corda 3开始,除了添加其他列入白名单的合约JAR之外,无法更改自举网络的网络参数.
As of Corda 3, there is no way to change the network parameters of a bootstrapped network, except for adding additional whitelisted contract JARs.
在Corda 4中,将引入一种机制,以允许修改自举网络的网络参数.
In Corda 4, a mechanism will be introduced to allow the network parameters of a bootstrapped network to be modified.
The default max transaction size is actually given here and is 2048MB.
这篇关于使用Corda OS v3.x和网络引导程序更改maxTransactionSize的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!