<p>You are given the hash of the left child itself, and when combined with the computed hash of the data you are given, you can compute the hash of that block (typically referred to as a node). With that hash, you hash it with a provided hash of the left child in it's parent. Then with that node's hash, you hash it with the provided hash of the parent's right child in order to get the root.</p>

<p>If all of the provided hashes for branches that you do not have are correct, and the data is in the merkle tree, then the root hash you end up with will match the root hash that you are given.</p>

CC BY-SA 4.0
2018-07-20T05:50:43.107Z
2018-07-20T05:50:43.107Z
Ava Chow
<p><a href="https://i.sstatic.net/AA6bK.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AA6bK.jpg" alt="enter image description here"></a>If we want to check that data is member of it or not we will take the root, data block, and all the blocks in path between data and root. According to this picture if i want to check that data block, then how can i validate the hash pointer store in above block without having left child?</p>

<merkle-tree>
Merkle tree and data validation
Sheikh
# Merkle tree and data validation

(Asked by: username_0 on 2018-07-20)

[![enter image description here](https://i.sstatic.net/AA6bK.jpg)](https://i.sstatic.net/AA6bK.jpg)If we want to check that data is member of it or not we will take the root, data block, and all the blocks in path between data and root. According to this picture if i want to check that data block, then how can i validate the hash pointer store in above block without having left child?

**Tags:** merkle-tree


---

## 1 answers

### Answer by username_1 on 2018-07-20. Score: 1

You are given the hash of the left child itself, and when combined with the computed hash of the data you are given, you can compute the hash of that block (typically referred to as a node). With that hash, you hash it with a provided hash of the left child in it's parent. Then with that node's hash, you hash it with the provided hash of the parent's right child in order to get the root.

If all of the provided hashes for branches that you do not have are correct, and the data is in the merkle tree, then the root hash you end up with will match the root hash that you are given.


---

