# Broadcasting the Block

Once a **valid solution to the hash puzzle** is found, it must be **broadcast to other nodes** on the network **as quickly as possible**. This ensures that every node can verify that the **transactions within the block** follow the **network’s validity rules**.

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

When other nodes successfully **validate the block**, they use the **double SHA-256 hash** of its **block header** as the **PrevBlockHash** input for their **next block template**.

If a node finds any **invalid transactions** or **rule-set violations**, it **rejects the block** and continues working on its own proof-of-work process with the current transaction set.

***

#### **Why Nodes Share Their Data**

Nodes are **incentivized to share** their **transaction sets** and **Merkle trees** with others. This openness ensures that:

* Other nodes can **validate transactions faster** when a block is announced.
* Every node has the same verified transaction data and **Merkle root** for their next block.
* The network remains **competitive yet cooperative**, encouraging **honest behavior**.

If a node handles **millions of transactions**, but delays sharing its data, it risks losing time. Another node that already has the full dataset can **validate a competing block first** and continue mining ahead—gaining a **head start** in solving the next proof-of-work puzzle.

This design ensures that **honesty and transparency** are **always more profitable**. When nodes broadcast their validated transactions immediately, others can quickly verify and include them, maintaining synchronization across the network.

***

#### **Mutual Benefit of Openness**

Each node may maintain **multiple Merkle trees concurrently**, preparing new transaction sets while validating blocks from others. This allows nodes to:

* Begin solving the **next hash puzzle** sooner.
* Stay competitive by having **current transaction data** ready.
* Benefit from the **mutual exchange** of Merkle trees and validation information.

<figure><img src="/files/0Ds6s8pjUHZoqiMa0p2m" alt=""><figcaption></figcaption></figure>

In the animation above, **Node A** and **Node B** share their transaction and Merkle tree data in real time. **Node C**, however, only syncs with Node B and does not receive updates from A. As a result, when Node A produces a valid block:

* Node C must **download the block**,
* **Validate all transactions**, and
* **Recalculate the Merkle root** before it can verify the proof-of-work.

This delay causes Node C to **fall far behind** in the proof-of-work race. For example, if one ASIC miner can execute **110 trillion hashes per second**, even a **10-second delay** results in **quadrillions of missed attempts** at finding the next valid block.

***

#### **Continuing the Proof-of-Work Cycle**

Once the **majority of nodes approve the new block**, they each start mining again—this time using the **new PrevBlockHash** and a **fresh transaction set** representing activity since the previous block.

***

#### **Key Takeaway**

The **broadcasting process** ensures **network integrity, fairness, and efficiency**.

Nodes that **share validated data promptly** gain a competitive edge, while secrecy or delay leads to lost opportunities.

By design, the BSV network **rewards transparency and collaboration**—making honesty the **most profitable strategy** in proof-of-work mining.


---

# 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-verifying-proof-of-work/broadcasting-the-block.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.
