Tangem Wallet Pack of 2 - Secure Crypto Wallet - Trusted Cold Storage for Bitcoin, Ethereum, NFT's &

Tangem Wallet Pack of 2 - Secure Crypto Wallet - Trusted Cold Storage for Bitcoin, Ethereum, NFT's &
Key item features Ultimate Security: Generates a private key that remains on the card, safeguarding crypto and NFTs from hackers with EAL6+ certification and audited firmware. Versatile Compatibility: Manages over 13,000 tokens across 70+ blockchains, supporting DeFi, NFTs, and DeEx without wires, Bluetooth, or USB. Effortless Operation: Utilizes NFC for secure transactions via a mobile device and the Tangem app, enabling buying and selling crypto with various payment methods. Smart Backup: Features a second Tangem Wallet as a backup, eliminating the need for paper, pictures, or seed phrases for recovery. Durable Design: Boasts IP68 protection against environmental conditions, ensuring longevity and robust physical security. Comprehensive Support: Compatible with Bitcoin, Ethereum, Solana, XRP, USDT, and over 6,000 cryptocurrencies, integrating with dApps and WalletConnect.

LBANK

What am I doing wrong in calculating Merkle root of the block with only 2 transactions (block #99997)?

I want to learn how to calculate the Merkle root so I started from a simple example, a block with only 2 transactions (block #99997). However, I ran into a problem.

Mempool online block explorer says that the Merkle root of this block is: 5140e5972f672bf8e81bc189894c55a410723b095716eaeec845490aed785f0e.

However, I am getting the different value.

Two transactions are contained inside the block #99997 and their TXID are:

  • b86f5ef1da8ddbdb29ec269b535810ee61289eeac7bf2b2523b494551f03897c

  • 80c6f121c3e9fe0a59177e49874d8c703cbadee0700a782e4002e87d862373c6

I did the following steps:

  1. concatenation of transaction IDs
    (result:b86f5ef1da8ddbdb29ec269b535810ee61289eeac7bf2b2523b494551f03897c80c6f121c3e9fe0a59177e49874d8c703cbadee0700a782e4002e87d862373c6)
  2. SHA256 of the result from the step 1 (result:e08d8ecc5a02b113bea1e7e2786b8235ddb5ab6058910f30b4d966b30e484bda)
  3. SHA256 of the result from the step 2 (result:5ab58ee21a1ae7476d59e6b7ddb05a80e8b42a4bf5748e9c5db9eb860b2bd040)

As you can see I got the different value for the Merkle root than the one presented on the Mempool site.

Mine: 5ab58ee21a1ae7476d59e6b7ddb05a80e8b42a4bf5748e9c5db9eb860b2bd040

Their: 5140e5972f672bf8e81bc189894c55a410723b095716eaeec845490aed785f0e

What am I doing wrong?



from Recent Questions - Bitcoin Stack Exchange https://ift.tt/KSHmGEC
via IFTTT

Popular posts from this blog

Crypto Exec Warns Tokenization Is Moving Faster Than Expected

Bitcoin Mining Could Be Strengthening The Ruble, Russian Central Bank Says

Nigerian SEC Partners With Police To Tackle Crypto Ponzi Schemes – Details