Skip to content

Commit

Permalink
some validator docs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtlofgren committed Mar 7, 2024
1 parent 1eec64f commit d4794a1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
13 changes: 11 additions & 2 deletions packages/docs/pages/operators/validators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ In addition, the validator node must meet the [minimum hardware requirements](./

#### Steps

See these steps for [setting up a genesis validator](./validators/validator-setup.mdx).
See these steps for [setting up a genesis validator](./networks/genesis-flow/participants.mdx). The commands will be found under the [pre-genesis validator section](./networks/genesis-flow/participants.mdx#generate-a-pre-genesis-validator-account)

See these steps for [setting up a post-genesis validator](./validators/validator-setup.mdx).
See these steps for [setting up a post-genesis validator](./validators/validator-setup.mdx).


## Outline
The validator docs describe the process and actions available to validators on the Namada blockchain. The following is a list of the topics covered in the validator docs:
- [Cubic proof of stake overview](./validators/proof-of-stake.mdx)
- [Validator setup](./validators/validator-setup.mdx)
- [Staking](./validators/staking.mdx)
- [Validator actions](./validators/validator-actions.mdx)
- [Jailing](./validators/jailing.mdx)
8 changes: 8 additions & 0 deletions packages/docs/pages/operators/validators/proof-of-stake.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,12 @@ Because of the nature of cubic slashing, validators are not slashed immediately
namada query-protocol-parameters
```

## Active Set

The parameters also define a `max-validator-slots` parameter. This parameter defines the maximum number of validators that can be actively participating in consensus at any given time. The active set is the set of validators that are currently active. The active set is updated at the end of each epoch. The active set can be queried with the following command:

```shell copy
namadac bonded-stake
```


8 changes: 7 additions & 1 deletion packages/docs/pages/operators/validators/validator-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,13 @@ namada client balance --owner my-validator --token NAM

That is, the balance of your account's address is a regular liquid balance that you can transfer using your validator account key, depending on the rules of the validator account's validity predicate. The default validity predicate allows you to transfer it with a signed transaction and/or stake it in the PoS system. Therefore, in order to increase the voting power of your validator, you need to accrue [some stake](./staking.mdx).

## Querying a validator's tendermint address
The final thing that needs to be done is to bond some stake to the validator account. This can be done using the `bond` command:

```shell copy
namadac bond --amount <amount> --validator <validator-alias>
```

### Querying a validator's tendermint address

If the validator account has been set up correctly and has bonded stake, it will be possible to query it using the `find-validator` command:

Expand Down

0 comments on commit d4794a1

Please sign in to comment.