8

The data field can be used to send arbitrary data in a transaction. I am aware that the amount of gas required increases with the increase in size of data, but, is there a limit to the size that's allowed? According to this post, the transaction size is limited by the block gas limit in Ethereum. But, what if I'm running a private blockchain with no block gas limits (Is this possible?). Does it mean that I can transfer any amount of data between accounts and all of this gets stored in the private blockchain forever?

6

In genesis.json you can set the block gas limit and then see How can I stop the block gas limit on a private chain dropping to the public chain default?

Does it mean that I can transfer any amount of data between accounts and all of this gets stored in the private blockchain forever?

Yes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.