问题
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