Changing the maxTransactionSize using Corda OS v3.x with network bootstrapper

浪尽此生 提交于 2020-01-06 06:18:37

问题


Can we change maxTransactionSize in Corda OS v3.x with network bootstrapper?

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


回答1:


As of Corda 3, there is no way to change the network parameters of a bootstrapped network, except for adding additional whitelisted contract JARs.

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.



来源:https://stackoverflow.com/questions/53392330/changing-the-maxtransactionsize-using-corda-os-v3-x-with-network-bootstrapper

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!