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?
Does the solana validator execute all the transactions in a block or a part of the block?
A validator will execute all transactions in a block. Not all transactions are guaranteed to be successful.
so the failed transactions will be in a block too ? Mar 23 at 7:08
That's right, all transactions are in the block, success or failure– Jon CMar 30 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? Mar 23 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? Mar 23 at 7:07