2

I know the coinbase transaction's input is usually just has a dummy scriptSig, but what if a miner used it to spend an UTXO? Would it be verified as an actual spend, or would the block be rejected?

1 Answer 1

4

It would be rejected. The coinbase input must use a very specific previous outpoint: 0x0000000000000000000000000000000000000000000000000000000000000000ffffffff. This prevents it from referring to an actual previous outpoint.

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.