I am studying bitcoin. https://en.bitcoin.it/wiki/Protocol_documentation#Merkle_Trees I read the above URL and implemented Merkle root in Python.