# 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: 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://l1x-sdk.gitbook.io/l1x-foundation/l1x-technology-explained/validator-nodes/validator-selection.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.
