Storage of transactions sequence
The sequence of transactions is stored in a block and is verified when the block is created. If there is an error in the sequence of transactions, the transaction gets automatically removed from the block and deleted as invalid. Authors of invalid transactions can be penalised if needed which can be as much as withdrawing their node from participation in the blockchain.
Block hash is created based on all transactions that are involved in the creation of the block. Example of contents of the block:
, where first item is a hash of the previous block, second item – transactions that were added to the current block.