Transaction Validation

What transaction validation and when

For transactions submitted and added to a block, ClishaChain validates the transactions, as illustrated in the following diagram.

Transaction Validation

ClishaChain repeats the set of transaction pool validations after propagating the transaction. ClishaChain repeats the same set of validations when importing the block that includes the transaction, except the nonce must be exactly right when importing the block.

!!! important

When adding the transaction to a block, ClishaChain performs an additional validation to check that the transaction gas limit is less than the remaining block gas limit. After creating a block, the node imports the block and then repeats the transaction pool validations.

!!! important

Last updated