1

I don't know how Ethereum verifies the atomicity of the state of a contract in the mining process.

Say I have a greet-counting contract.

If two people call the greet function in (almost) the same time, can both transactions be included in a single block and the counter be incremented by two?

Or only one transaction will included in a block and the other will be left in the queue for the following block? Or, the worst case, the other transaction will even be thrown away?

eth
  • 85,679
  • 53
  • 285
  • 406
Q-chan
  • 11
  • 2

0 Answers0