# Standard and Local Policies

When a new transaction arrives at a node, it goes through a set of checks and validation rules. These are the rules a node is mandated to enforce for the network's operations. Most of them are standard across all nodes and are part of the Bitcoin protocol and are called consensus rules(shown as Standard Policies in the diagram below). Some rules are part of the node’s own infrastructure specification and preferences. These are specified as Local Policies.

<figure><img src="/files/41wwlgHYrZVzUTq3PCS5" alt=""><figcaption><p>Standard and Local Policies - Transaction Storage</p></figcaption></figure>

Generally, the rules for Local Policies are only checked for transactions before they are accepted into the mempool or included in the block candidate. In contrast, Standard Policies or consensus rules are always checked.

{% hint style="info" %}
The transaction to the blockchain can be something that is coming from a user, or it could be a transaction which it finds missing while validating a block created by another node. In that scenario, the node will then request the node who proposed the block to send it the missing transaction. When it receives that transaction, it will be sent through the same set of validation processes shown above as if it is a new transaction. &#x20;
{% endhint %}

{% hint style="info" %}
Nodes don’t first solve a cryptographic puzzle. First of all, a node needs to validate all of the transactions and create the block. Then they can create a puzzle if and only if they have fully validated everything in the block. That is every single transaction. If they don’t do this, it’s no good running proof of work algorithms as no other node will accept it.
{% endhint %}


---

# 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/bitcoin-protocol-documentation/network-policies/standard-and-local-policies.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.
