1

So, pretty much just the title. I'm just wondering how the Merkle Root works exactly. I know it's the result of pairing transactions and then hashing them until the last transaction in the block, but when is this done? Is it constantly updated while the block is getting mined, or is the Merkle Root only calculated when the block is completed?

Thanks.

1 Answer 1

4

Once the mining pool has the list of all of the transactions they are including in that block, they calculate the merkle root for this list of transactions, then they distribute the block header, that includes the merkle root, to miners to work on.

So, no, it's not constantly being updated, unless for some reason a new transaction was being added or removed from the list of transactions being included in the block.

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.