I read in one of the answers as below -
So when does smart contract code run?
Lots of times, repeatedly and redundantly. By design.
Smart contracts are if then - so if this is run repeatedly and redundantly - wont then "then" condition in the contract execute multiple times ?
Also when a smart contract is published - what exactly miners do? Are they the ones responsible for validating the smart contract and pushing to block chain ?
Also I read that once the smart contract is added to the block, it is propagated to other nodes and they validate - what exactly the other nodes validate - do they check the mining ( similar to validating the nonce in bit coin ? )
Now that the smart contract resides in all the nodes - which node is responsible for execution of the same ? and who triggers the execution of smart contract ?
Thanks in advance.