Is there any validation process of smart contract's write operations ?

  • Hi, I did not specifically understand your question. You can check out this link github.com/ethereum/wiki/wiki/White-Paper for basics of Ethereum as well as how Ethereum is different from Bitcoin. – Sanjay S B Jun 18 '19 at 9:33
  • Thanks for your response @SanjaySB . I will go through that above link and will get clarification. – Suria Jun 18 '19 at 10:51

All smart contracts are replicated across all nodes. And their code is part of a block, and therefore part of the block's hash value. So if you somehow 'hack' a smart contract in one node all other nodes would ignore the changes as they have the right version which produces the right hash value for the block.

Smart contract interactions are validated also in the same way: all transactions are replayed by all nodes so any strangeness in the interaction would be detected and ignored by all other nodes.

| improve this answer | |
  • Thanks for your explanation @Lauri Peltonen . Let's say there is a huge traffic to my dapp its around 1cr active nodes in my dapp. How much time it will take to validate by all 1 cr nodes for single transaction. ? – Suria Jun 18 '19 at 10:49
  • Your dapp doesn't have nodes. A node is simply used to communicate with the blockchain. A block can currently have about 8 million gas in it, so you can estimate how many blocks (at least) it requires for all the transactions to be processed by the network. – Lauri Peltonen Jun 18 '19 at 10:57
  • Got it and its clear explaition. Thank you @Lauri Peltonen – Suria Jun 18 '19 at 11:03

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.