Transaction Validation

What transaction validation and when

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

Transaction Validation

WoopChain repeats the set of transaction pool validations after propagating the transaction. WoopChain 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, WoopChain 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