Where is merkle path of a transaction stored in a transaction?

1

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?

Joel Fernandes

Posted 2017-12-29T19:00:34.927

Reputation: 13

Answers

2

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

Matthew Charles Stannard

Posted 2017-12-29T19:00:34.927

Reputation: 625