Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

What is the component of a Merkle tree that can verify the Witness as a value included in the block header?

In the Merkle Tree, a data structure that summarizes all Tx metadata, the hash value positioned at the top is Merkle root. While binary tree flows from the parent node to the child node, Merkle tree is a structure that goes upward from the child node to the parent tree.


According To Overwallet Quiz Your Answer   Is [[ MerkleRoot ]] . But You must have  to read the more discussion Below!

The component of a Merkle tree that may validate the Witness as a value provided in the block header is the witness commitment. A witness commitment is a hash of the root node of the Merkle tree of all the Segregated Witnesses in a block. It is kept in an output of the coinbase transaction, which is the initial transaction in a block. By incorporating the witness commitment in the coinbase transaction, the block header is indirectly modified by the Segregated Witnesses, as the block header includes the hash of the Merkle root of all transactions in the block. This guarantees that the Segregated Witnesses are incorporated in the blockchain and cannot be updated without altering the block header.

The markleroot is the hash of the root node of the Merkle tree of all transactions in a block, not only the Segregated Witnesses. The markleroot does not validate the Witness as a value contained in the block header, since the Witness is not part of the transaction data that is hashed to construct the markleroot. The witness commitment, on the other hand, is a hash of the root node of the Merkle tree of all the Segregated Witnesses in a block, and it is recorded in an output of the coinbase transaction, which is part of the markleroot. Therefore, the witness commitment validates the Witness as a value provided in the block header. I hope this clarifies your doubt. 😊



This post first appeared on Haadiglips, please read the originial post: here

Share the post

What is the component of a Merkle tree that can verify the Witness as a value included in the block header?

×

Subscribe to Haadiglips

Get updates delivered right to your inbox!

Thank you for your subscription

×