Excellent article! I have few questions.
- When is the custom smart contract gets executed? Is it executed before the block is added to the blockchain or is it executed after the block has been added to the blockchain.
- Can the smart contract do something to alter the existing blocks in the blockchain? I believe this will not be possible since blockchain is immutable.