# How validation works

SN46 validators pay miners for the work they served. Every epoch, a validator closes the settled work into a signed summary, builds a weight row from it, has an independent auditor check that row, and submits it to the chain. When anything is in doubt, it submits the burn row instead.

## Epochs

Every request a miner serves is settled in the SN46 ledger, with what the customer was charged and what the miner is owed: their provider's cost for the tokens, plus their speed bonus of 10% to 20%. At each epoch boundary, the validator closes the epoch: it reads the settled work, writes a summary signed with its signer key, and turns it into a weight row, each miner's share of the epoch's emission.

## The independent audit

Before the row may pay, `sn46-audit` checks it against the epoch's summary. The auditor is a separate program with its own key and its own read-only access to the ledger; the signer runs it once per epoch and submits the row only when the audit's signed verdict passes.

## The burn row

The burn row sends the whole pool to the burn UID. The validator submits it whenever the audit fails or a check is in doubt: nobody is paid for that round, and what miners earned carries over to the next one.

The chain keeps paying the last row a validator set until a new one replaces it. So each validator runs a **watchdog** on a second machine: when the validator has written nothing by near the end of an epoch, the watchdog writes the burn row with the same hotkey. See [run](https://docs.instantnetwork.ai/validators/run).

## Run a validator

1. [Install](https://docs.instantnetwork.ai/validators/install) `sn46-signer` and `sn46-audit` with one curl command.
2. [Set up keys and config](https://docs.instantnetwork.ai/validators/configure).
3. [Run](https://docs.instantnetwork.ai/validators/run) the signer, and the watchdog on a second host.
4. [Update](https://docs.instantnetwork.ai/validators/update) when a new release is out.

Not running a validator? You can [stake with one](https://docs.instantnetwork.ai/validators/stake).
