# Invalid Block Relay System

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

*One strategy to protect against this would be to accept alerts from network nodes when they detect an invalid block, prompting the user's software to download the full block and alert transactions to confirm the inconsistency.*

Satoshi Nakamoto, Bitcoin Whitepaper

To safeguard against potential attacks, one proposed solution is the implementation of an **Invalid Block Relay System**. This system would **alert user wallets** that have requested the longest chain of proof-of-work **when they are following a rejected dishonest attack chain**. The alerts would provide users with **details about the earliest block** in the invalid chain, information about the **detected invalid transactions**, and the **specifics of the longest valid chain**, including the **valid versions of any double spends** that may have been inserted into the malicious chain.

This theoretical system aims to protect users from inadvertently following an invalid chain of proof-of-work, even for a brief period. By **ensuring that users are informed** of any inconsistencies in the chain they are following, the system enhances the overall security and integrity of the network.


---

# 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-whitepaper-series/section-8-simplified-payment-verification-bitcoin-whitepaper/invalid-block-relay-system.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.
