10

I understand that each node has a transaction pool, which is used for adding transactions to the block. What happens to the transactions when a miner's block is declared invalid? Also, how are transactions removed from the local node's transaction pool once they are mined into the block?

1 Answer 1

5

Answering your first question: If the transactions in a block that is declared invalid have not been already validated somewhere else in the main blockchain, they will be returned to the pool of unconfirmed transactions from which miners mine. There is no loss of data.

1
  • Hey @tesa, what happens to the gas spent on invalid block ? Will the user again need to add more gas to the transaction ?
    – Jyoti Puri
    Commented Oct 15, 2021 at 7:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.