Skip to content
    Blockchain notesHash Pointers

    Unit 2 – Technologies Borrowed in Blockchain · 12

    Hash Pointers

    A hash pointer stores both a reference to some data and a hash of that data. It tells a reader where to find earlier information and provides a quick way to check that the information has not changed.

    Animated diagram

    A labelled folder reference includes both the shelf location and a tamper-check fingerprint for the folder contents

    Block 1 hash → Pointer → Block 2 → Next link. Follow the flow to see how hash pointers fits into a blockchain system.

    Make the invisible feel visible.

    A hash pointer stores both a reference to some data and a hash of that data. It tells a reader where to find earlier information and provides a quick way to check that the information has not changed.

    Think of it like this

    A labelled folder reference includes both the shelf location and a tamper-check fingerprint for the folder contents.

    Under the hood

    How it works, step by step

    01

    Start with the idea

    A hash pointer stores both a reference to some data and a hash of that data. It tells a reader where to find earlier information and provides a quick way to check that the information has not changed.

    02

    Follow the example

    A block header includes the previous block’s hash. Editing an earlier block changes its hash and breaks the reference stored in the next block.

    03

    Notice the benefit

    Hash pointers connect records while making unauthorized edits detectable.

    04

    Check the limitation

    They reveal tampering but do not stop someone from attempting it; consensus and network security also matter.

    Make it concrete

    Hash Pointers in practice

    Hash Pointers in practice

    A block header includes the previous block’s hash. Editing an earlier block changes its hash and breaks the reference stored in the next block.

    Key point: They reveal tampering but do not stop someone from attempting it; consensus and network security also matter.

    Balanced view

    Advantages & disadvantages

    Advantages

    • Hash pointers connect records while making unauthorized edits detectable.

    Disadvantages

    • They reveal tampering but do not stop someone from attempting it; consensus and network security also matter.

    Keep these close

    Takeaways & common traps

    What to remember

    • A hash pointer stores both a reference to some data and a hash of that data. It tells a reader where to find earlier information and provides a quick way to check that the information has not changed.
    • Hash pointers connect records while making unauthorized edits detectable.
    • They reveal tampering but do not stop someone from attempting it; consensus and network security also matter.

    Watch out for

    • Do not assume hash pointers guarantees more than its design can prove.
    • Do not ignore the trade-off: They reveal tampering but do not stop someone from attempting it; consensus and network security also matter.

    Quick check

    Questions people ask

    Why is hash pointers useful?

    Hash pointers connect records while making unauthorized edits detectable.

    What is an important limitation?

    They reveal tampering but do not stop someone from attempting it; consensus and network security also matter.