MultiversX Tracker is Live!

Are transactions included in a block or is only the Merkle-root hash included in a block

Bitcoin Stack Exchange

Bitcoin News / Bitcoin Stack Exchange 150 Views

in picture-1 transactions are out of block and in picture-2 transactions are included in block

In your picture-1, the transactions are NOT shown as outside the block. They are shown as outside the "block header"

Your picture-1 has the caption "Simplified Bitcoin Block Chain". You should take care not to interpret a simplified diagram as if it were completely accurate. The second diagram is also simplified and not a complete specification of data in a block.

Both these diagrams have misleading elements. For example the direction of arrows in the first diagram. The inclusion of "proof of work" in the second diagram as if that were a data item stored in the block structure. It isn't.


Are transactions included in a block or is only the Merkle-root hash included in a block

The cause of this confusion is that

  • The block hash includes the block header only†.
  • The block data includes a block-header and all transaction data.

†The hash of the block does not directly include the transaction data. The transaction data is included indirectly.

One of the items in the block header is the Merkle root. The Merkle root is a hash resulting from repeated pairwise hashing of transaction data. A consequence of this is that altering any transaction would result in a different block hash.


See


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