TOPIC 13: MERKLE TREE

Screenshot (2074) Screenshot (2073) Screenshot (2072) Screenshot (2070) WhatsApp Image 2024-09-13 at 12.18.47 MerkleTree-min-1024x512.png

  • In blockchain, we have multiple blocks together and they are connected using Hash values.
  • Every block has 1 or many transactions and each txn have their own hash ID, that then means that a block can have numerous hash values for each txn
  • To get the one hash value of one block, we use the Merkle tree formulae.










•For those 10 transactions, they have 10 hash . So to get 1 hash, you will find 1 common hash between two hash i.e. h1, h2 =h12, h3,h4 = h34

•Once that step is done, get one common from the two i.e. h12,h34 = h1234

•Continue with the sequence until you end up with one hash.

ENG WANJIKU

Views: 10

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top