> For the complete documentation index, see [llms.txt](https://l1x-sdk.gitbook.io/l1x-foundation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://l1x-sdk.gitbook.io/l1x-foundation/l1x-technology-explained/validator-nodes/validator-selection.md).

# Validator Selection

fulfilAt the beginning of each cube in the L1X blockchain network, the validator selection process takes place to determine the validators in the selection queue for the next cube. The selection process ensures that the network has an adequate number of validators to maintain security, consensus, and transaction validation in adverse scenarios. The following steps outline the validator selection process:

### Minimum Validators in a Cluster <a href="#toc140645958" id="toc140645958"></a>

Based on network dynamics, a threshold is set for the minimum validators required in the cluster. This value, known as the validator threshold, is a proportion of total nodes. It ensures that there are a sufficient number of validators within a cluster to achieve consensus and prevent centralization.

### Validators Required <a href="#toc140645959" id="toc140645959"></a>

The next step involves calculating the total number of validators needed for the next cube based on active clusters and the validator threshold.

*`Validators Required = (1.5 * Clusters) * Validators Threshold.`*

By considering 1.5 times the number of clusters, the L1X network ensures that there are enough validators to maintain a decentralized and secure network in adverse scenarios as well.

### Validators Selected <a href="#toc140645960" id="toc140645960"></a>

To fulfil the required number of validators, the difference between the Validators Required and the existing Active Validators is determined.

*`Validators Selected = Difference (Validators Required, Active Validators)`*

This value represents the additional validators that need to be added to the selection queue for the next cube.

The validator selection process aims to strike a balance between network security, decentralization, and efficient consensus. By ensuring that each cluster has a minimum number of validators and calculating the required number of validators based on the number of clusters, the L1X blockchain network maintains a robust validator ecosystem.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://l1x-sdk.gitbook.io/l1x-foundation/l1x-technology-explained/validator-nodes/validator-selection.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
