MultiversX Tracker is Live!

What guarantees the validity of merkle root used in the merkle inclusion proof?

Bitcoin Stack Exchange

Bitcoin News / Bitcoin Stack Exchange 135 Views

Generally, thin-clients at least download, validate, and store the header for each block. Since the Merkle root is part of the header, they already know all the Merkle roots for the whole blockchain. While a block header is insufficient for checking the corresponding block's validity (even the complete block would be insufficient if the validator doesn't know the current UTXO set), just from the header, a thin-client can verify that…

  • the block header is well-formed
  • the block header provides sufficient proof-of-work to pass the difficulty requirement
  • the block header commits to the previous block, and inductively connects to the Genesis Block

Since each header is only 80Β B, the whole header chain is just ~57.5Β MB. Thin-clients then gain some confidence in the chain-tip they're following by waiting for additional blocks extending it under the assumption that only the best chain would be acquiring significant additional POW over time.

Now, when a thin-client receives a transaction along with its Merkle branch, it can check whether it attaches to the header chain by hashing the transaction, combining it with the corresponding hashing partners that were part of the Merkle branch, and whether that ends up matching a Merkle root in one of the block header's it has.


Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments