Cryptoeconomics.Study

Cryptoeconomics.Study

  • Course
  • Community
  • Contribute
  • Languages iconEnglish
    • 中文

›3.3 Merkle Trees

Getting Started

  • Welcome
  • Development Setup
  • Course Overview

Ch1: Payment Processor

    1.0 Chapter Overview

    • Lecture

    1.1 Hashes and Signatures

    • Lecture
    • Code Challenge

    1.2 Payment Processor

    • Lecture
    • Code Challenge

    1.3 Replay Protection

    • Lecture
    • Code Challenge

    1.4 Account Model vs UTXOs

    • Lecture
    • Code Challenge

    1.5 Centralized Systems

    • Lecture
    • Code Challenge

Ch2: Network Models

    2.0 Chapter Overview

    • Lecture

    2.1 Networks and Synchrony

    • Lecture

    2.2 Double Spends

    • Lecture
    • Code Challenge

    2.3 Latency-Based Consensus

    • Lecture
    • Code Challenge

    2.4 Proof of Authority

    • Lecture
    • Code Challenge

Ch3 Proof of Work

    3.0 Chapter Overview

    • Lecture

    3.1 Decentralized Consensus and Blockchains

    • Lecture

    3.2 Bitcoin and Nakamoto Consensus

    • Lecture
    • Code Challenge

    3.3 Merkle Trees

    • Lecture
    • Code Challenge

    3.4 Game Thoery in Bitcoin

    • Lecture
    • Code Challenge

    3.5 Selfish Mining

    • Lecture
    • Code Challenge

More

  • Resources
  • Glossary
Edit

Lecture


Merkle Trees

  • A powerful data structure to improve our protocol's scalability





Slides

Google Sheets Link


Ch3.3 Overview

Merkle Trees

  • A hash of a hash of a hash of a hash... of all the data until there's just 1 hash - the "root" of the tree. A guy named Ralph Merkle invented this as a data structure.

Merkle Proof / Branch

  • The set of hashes in a merkle tree necessary to verify that a piece of data is within the merkle tree. This allows you to verify the integrity of a piece of data within a data set by checking much less than the full set of data. This is what light clients on Ethereum or Bitcoin do.


Recommended Resources

Wikipedia: Merkle Tree - Wikipedia page on Merkle trees.

Brilliant: Merkle Tree - Free page explaining merkle trees.

Pegasys: Ethereum Explained - Explains Merkle trees in the context of Ethereum.


Last updated on 9/6/2019 by burrrata
← Code ChallengeCode Challenge →
  • Merkle Trees
Course
Getting Started
Community
ForumContributors
More
BlogNewsletterGitHub
Copyright © 2019 Cryptoeconomics.Study