2

We have an assumption that the constant function doesn't deal with arrays - the number of elements involved is constant.

Thanks

1

In theory yes: If the state database gets bigger while the amount of fast-accessible storage on the validating nodes doesn't, it'll be more likely that your data access will require reads that take longer, ie something that would have been cached in RAM will have to be read from disk. This will mean it takes longer for a node to validate a block. But it shouldn't alter the time it takes a transaction to confirm, as that depends on the block interval, which shouldn't change unless something goes very badly wrong.

You generally shouldn't have to worry about this, but you should worry that the gas price may go up and/or the block gas limit may go down.

  • I do agree with you. But, is there any documentation talking about this in depth? Since I am not sure whether they have done something clever. Thanks – Fries Mar 16 '17 at 15:47

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.