Is it possible to have a failed Bitcoin transaction on the block chain?

0

In Ethereum, a transaction may get out of gas but still being included in a block with a receipt status of failed. In Bitcion, will similar things happen?

Calvin Lau

Posted 2018-04-13T05:29:36.913

Reputation: 143

Answers

1

No. Invalid transactions do not get included in blocks in Bitcoin.

There is also no receipt concept in Bitcoin. All nodes run full verification and check transactions against their own UTXO set when importing a block. Therefore any invalid transaction will also cause a block to be invalid as well.

renlord

Posted 2018-04-13T05:29:36.913

Reputation: 2 167