# Step 5: Block Validation and Acceptance

Upon receiving a block announcement, nodes must perform a thorough **validation process** to ensure the integrity of the block's contents. This involves several critical steps:

1. **Transaction Validation**: Each transaction within the block is checked to confirm that it spends valid coins that have not already been spent.
2. **Requesting Missing Transactions**: If a node has not previously seen some transactions in the block, it must request those transactions from the node that broadcasted the block.
3. **Building on Valid Blocks**: Nodes will choose to build on the first valid block they can validate, creating a strong incentive to share information and avoid withholding transactions.

#### Validation Criteria

* All transactions must be valid and adhere to the network's rules.
* Nodes must ensure that they have all necessary information to validate a block efficiently.


---

# 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-5-network-bitcoin-whitepaper/step-5-block-validation-and-acceptance.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.
