Storage of transactions sequence

From E2C Wiki
Jump to navigation Jump to search

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:

818a3cfb570623059559497ea7c845ba165fa486440e3e05982b98b97bcb11c4
a4c4e0a940ca996851c98836bdc14d09d2f92fd6f3ab96bc5eba3a12ef61055d,478efba5cb699500b6f805c4c8b1dda3c579ee8d9d6b31e300ff1bec76e4979f,7424e3fff925e2f58a6e2589b82d21267c0cc65c55c40bda5b0c2417001fc4c6

, where first item is a hash of the previous block, second item – transactions that were added to the current block.