2

It's known that even if no transactions get created, bitcoin still creates a block with empty array of transactions.

In this way, I am curious what the merkle root would be. How does bitcoin figure out merkle root for empty array ? if there're even 1 transaction in it, I understand completely what it does, but what about empty array ?

1 Answer 1

4

This cannot happen. Every block contains at least a "coinbase" transaction that distributes the subsidy and fees to the block's miners.

Blocks without coinbase are invalid, even if the subsidy were 0.

Your Answer

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

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