Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions docs/learn/consensus.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ Below is a step‑by‑step walk‑through of *one* six‑second block cycle (ro

### 1.2 Round randomness

Randomness must be unpredictable yet verifiable. For round `r` the seed is:

```
rand_r = BLS_sign(prev_block_hash, proposer_{r-1})
newRandSeed = currentProposer.Sign(lastRandSeed)
randomness = hash(newRandSeed, currentRound)
```

Because the identity of the previous proposer is only revealed at the end of round `r – 1`, no one can bias or predict `rand_r` ahead of time.
* `newRandSeed` - VUF (Verifiable Unpredictable Function). It allows the generate seeds that are verifiable, unpredictable but not uniform.
* `randomness` - VRF (Verifiable Random Function)

### 1.3 Proposer election

Expand Down
10 changes: 5 additions & 5 deletions docs/validators/node-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Command Line Interface for the Node and the associated Tools

The **Command Line Interface** of the **Node** and its associated **Tools** is described at the following locations:

- [Node](https://github.com/multiversx/mx-chain-go/blob/master/cmd/node/CLI)
- [SeedNode](https://github.com/multiversx/mx-chain-go/blob/master/cmd/seednode/CLI)
- [Keygenerator](https://github.com/multiversx/mx-chain-go/blob/master/cmd/keygenerator/CLI)
- [TermUI](https://github.com/multiversx/mx-chain-go/blob/master/cmd/termui/CLI)
- [Logviewer](https://github.com/multiversx/mx-chain-go/blob/master/cmd/logviewer/CLI)
- [Node](https://github.com/multiversx/mx-chain-go/blob/master/cmd/node/CLI.md)
- [SeedNode](https://github.com/multiversx/mx-chain-go/blob/master/cmd/seednode/CLI.md)
- [Keygenerator](https://github.com/multiversx/mx-chain-go/blob/master/cmd/keygenerator/CLI.md)
- [TermUI](https://github.com/multiversx/mx-chain-go/blob/master/cmd/termui/CLI.md)
- [Logviewer](https://github.com/multiversx/mx-chain-go/blob/master/cmd/logviewer/CLI.md)

[comment]: # (mx-context-auto)

Expand Down
Loading