Merkle path is always appeared in many examples relevant with verification of transaction. but they never explain how merkle path is generated.
So, I was wondering that how merkle path is generated.
I think that there are two parts.
- Finding a block that contains requested transaction.
- Construct a merkle path using merkle tree that full-node has already.
But I have no idea about second part. what is the mechanism of second part?
Sorry for my English.