Bitcoin Internals: How Blocks use Merkle Trees in JavaScript

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024
  • In this video I take a look into how Bitcoin internally uses Merkle trees to generate it's block Merkle roots. We delve into how this is computed and why it is so important to validate the state of transactions. We then move on to create a simple script in JavaScript that computes the Merkle root of a given block's transactions, and verifies this with the value stored within the block.
    Discussed in the video:
    www.bitcoinboo...
    bitcointalk.or...
    bitcoin.stacke...
    The source-code for this video can be found here:
    gist.github.co...

Комментарии • 8

  • @jackpitts5561
    @jackpitts5561 4 года назад +2

    It's ok, but what is "JSB" and where did "r" and "d" come from, and somehow turn into "root" and "txs"?

  • @ricardoaponte1166
    @ricardoaponte1166 6 лет назад

    Awesome work! Thank you, this was exactly what I was looking for.

  • @doncachorron
    @doncachorron 3 года назад

    Wow!, thanks a lot!

  • @wildpasco
    @wildpasco 4 года назад

    That really cures the impostor syndrome, how did you learn this? Please continue :)

  • @youngKOkid1
    @youngKOkid1 5 лет назад +2

    how did you become such a FP god??

  • @seunlanlege4198
    @seunlanlege4198 6 лет назад +2

    would've been nicer without the code golf.

    • @wildpasco
      @wildpasco 4 года назад

      Nah, that really cures the impostor syndrome