Does the solana validator execute all the transactions in a block or a part of the block? If all the block will the confirm slow? Will it collect the whole block before execute the transactions in the block?
2 Answers
A validator will execute all transactions in a block. Not all transactions are guaranteed to be successful.
-
-
That's right, all transactions are in the block, success or failure– Jon CCommented Mar 30, 2023 at 13:50
Hey answering your first question
- Solana validators even include failed txns with they collected gas for and all the txns are executed as they validator is the chosen blockproducer.
- nope that's the job
- Could you elaborate on the 3rd question better?
-
the 3rd question : as we all know ,the leader will split the blocks into shreds to send to others, assuming that a block has multiple parts, if the second part is received, do we need to wait for the data from the first part to arrive before executing the second part?– user2712Commented Mar 23, 2023 at 7:05
-
So, a validator is expected to execute all the transactions in a block in time, is that means a validator shall has the hardware as well as the leader?– user2712Commented Mar 23, 2023 at 7:07