# Slashing

## **What is slashing?** <a href="#what-is-slashing" id="what-is-slashing"></a>

Slashing is a penalty system. If a validator misses their duties, such as not validating a block in time, they can lose a portion of their staked KUB. The deducted amount then gets awarded to the official pool as a reward. Slashing in the KUB network ensures that validators meant to secure the network act in the best interests of all users. If a validator doesn’t perform its duties, slashing comes into play.

### **Tracking** <a href="#how-does-it-work" id="how-does-it-work"></a>

After the first warning, the system starts tracking the validator's performance for roughly 24 hours. This tracking period is called the **Slashing Epoch**, which lasts 345 spans.

### **Slashing Threshold**

Suppose a validator misses block validations repeatedly and reaches a threshold of 50 spans (approximately 3 hours and 20 minutes) within 345 spans (approximately 24 hours) for the slash epoch in a network of KUB, the validator will be slashed. However, the counter resets if they don’t reach this threshold or if it reaches 345 spans.

### **Penalty Amount**

The amount of the penalty depends on the type of node:

* Pool Node: 100 KUB penalty

{% hint style="warning" %}
Before penalizing validators, there will be issued warnings as an initial measure against missed duties.
{% endhint %}

Once a validator doesn't propagate its block in time, the official node steps in. The official node creates a block, adds a slashing transaction, and signs it. This transaction triggers the [SlashManager](https://www.kubscan.com/address/0xEF6F6c6fdaEAc0326FFE1413D7d7CCAA7B56b753) smart contract, which takes care of the slashing procedure based on the abovementioned rules.


---

# 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://docs.kubchain.com/run-a-kub-node/run-a-validator-node/slashing.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.
