# Assessment 7

#### 64 transactions were timestamped into block 700. If you are in possession of an up to date set of block headers, what will be the minimum amount of additional data that is required to verify an Unspent Transaction Output (UTXO) as valid from this set of transactions 699 300 blocks deep?

* [x] 1192
* [ ] 192
* [ ] 80

**Notes to Learners**

Let's break down what data is needed to verify a UTXO from block 700 when you're currently at block 700,000.

### Given Information

* **Block in question:** Block 700
* **Current block height:** 700,000
* **Transactions in block 700:** 64
* **You already have:** All block headers up to block 700,000

### What You Need to Verify the UTXO

Since you already have the block headers (including block 700's header with its Merkle root), you need:

#### 1. **The Transaction itself**

Average transaction size: **\~1,000 bytes** (1 KB as stated in the previous question)

#### 2. **Merkle Proof for the transaction**

With 64 transactions in the block, the Merkle tree has:

* 64 leaves (transactions)
* Height = log₂(64) = 6 levels

**Merkle path length = 6 hashes** **Size = 6 × 32 bytes = 192 bytes**

### Total Minimum Data Required

**Total = 1,000 + 192 = 1,192 bytes**

***

**Answer: \~1,192 bytes (or approximately 1.2 KB)**

### Why This Works

1. You use the Merkle proof to verify the transaction is in block 700
2. You verify the Merkle root matches the one in block 700's header
3. Since you have all headers, you've already verified the chain of work from block 700 to 700,000
4. This proves the transaction is valid and part of the longest chain

This is the essence of SPV - verifying specific transactions without downloading the entire blockchain!


---

# 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://hub.bsvblockchain.org/higher-learning/bsv-academy/bitcoin-primitives-merkle-trees/merkle-trees-and-the-block-header/assessment-7.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.
