# 302.2 Lesson - blockchain

**Screen:** blockchain

**Headline:** What is a blockchain exactly?

**Reward:** 2

**Text:** The Bitcoin blockchain is a distributed database that maintains a continuously growing list of Bitcoin transactions called blocks.

Blocks are anchored to each other through the use of cryptographic hashes. Each block contains a cryptographic hash of the previous block, as well as a timestamp and transaction data. This creates a chain of blocks that are all linked together, with each block building on the one before it.

The cryptographic hash function ensures that once a block has been added to the chain, it cannot be altered or replaced without also changing all of the subsequent blocks in the chain.

This creates a tamper-evident record of all transactions that have occurred on the blockchain, which can be used to verify the integrity of the data stored on the chain.

\=================================================================

## QUIZ

**Question:** What is the purpose of the cryptographic hash function in the Bitcoin blockchain?

**Answer:** To create a tamper-evident record of all transactions on the blockchain

**Feedback:** Correct! The cryptographic hash function helps to create a tamper-evident record of all transactions on the blockchain, which can be used to verify the integrity of the data stored on the chain. Did you know that the cryptographic hash function is also an essential part of the proof-of-work mechanism that helps to secure the Bitcoin network

**Correct:** true

**Answer:** To ensure that blocks can be altered or replaced easily

**Feedback:** That's a hilarious idea, but no, the cryptographic hash function actually ensures the opposite. Try again

**Correct:** false

**Answer:** To make sure that the Artificial Intelligence that created Bitcoin has enough computation power to take over the world

**Feedback:** Ha! I'm not sure who told you that the Bitcoin blockchain was created by AI, but I think they might have been pulling your leg. Try again!

**Correct:** false

<figure><img src="/files/w8ayzQMXDEvQ3angE1kc" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://earn.blink.sv/chapter-302-bitcoin-how-does-it-work/302.02-lesson-blockchain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
