<p>The merkle path is not stored explicitly within the block. It is calculated from the transactions in the block when requested by a client. </p>

CC BY-SA 3.0
2017-12-29T19:33:27.923Z
2017-12-29T19:33:27.923Z
Matthew Stannard
<p>I understand every transaction can be verified if it belongs to a block by a merkle path which is basically a set of hashes that finally end up at the merkle root.</p>

<p>I know the merkle root is stored in the block header, but where is the merkle path (set of merkle hashes) of a transaction stored within the block? </p>

<blockchain><bitcoin-core><bitcoin-core-development>
Where is merkle path of a transaction stored in a transaction?
Joel Fernandes
# Where is merkle path of a transaction stored in a transaction?

(Asked by: username_0 on 2017-12-29)

I understand every transaction can be verified if it belongs to a block by a merkle path which is basically a set of hashes that finally end up at the merkle root.

I know the merkle root is stored in the block header, but where is the merkle path (set of merkle hashes) of a transaction stored within the block?

**Tags:** blockchain, bitcoin-core, bitcoin-core-development


---

## 1 answers

### Answer by username_1 on 2017-12-29. Score: 3 | Accepted answer

The merkle path is not stored explicitly within the block. It is calculated from the transactions in the block when requested by a client.


---

