add katex to install_mdbook_deps.sh

This commit is contained in:
serinko
2024-08-08 16:24:22 +02:00
parent 296ce96860
commit 1b55078d7f
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ set -o pipefail
# pinning minor version allows for updates but no breaking changes
MINOR_VERSION=0.4
# if a new plugin is added to the books it needs to be added here also
declare -a plugins=("admonish" "linkcheck" "last-changed" "theme" "variables" "cmdrun")
declare -a plugins=("admonish" "linkcheck" "last-changed" "theme" "variables" "cmdrun" "katex")
# install mdbook + plugins
install_mdbook_deps() {
+2
View File
@@ -52,6 +52,8 @@ renderer = ["html"]
# command = "$(tokens=$(curl -L https://api.nymtech.net/cosmos/staking/v1beta1/pool | jq 'values[\"pool\"][\"bonded_tokens\"]') && echo ${tokens:0:2},${tokens:2:2})"
[preprocessor.katex]
# a latex preprocesor, taken from https://github.com/lzanini/mdbook-katex
# docs with supported syntax https://katex.org/docs/supported.html
after = ["links"]
# KaTeX options.
output = "html"
@@ -114,8 +114,8 @@ As you can see the performance (also known as *Routing score*) is much more impo
Once the active set of 120 Mixnodes and 120 Gateways is selected, the nodes can start to route and mix packets in the Nym Network. Each hour a total of 6000 NYM is distributedbetween the layers from Mixmining pool, following the ratio according to a [decision made by the operators](https://forum.nymtech.net/t/poll-what-should-be-the-split-of-mixmining-rewards-among-the-layers-of-the-nym-mixnet/407) as follows:
```admonish tip title=""
5-hop mixnet mode $= 16\% - 16\% - 16\% - 16\% - 36\%$ <br>
2-hop wireguard mode $= 33\% - 67\%$
5-hop mixnet mode: $16\% - 16\% - 16\% - 16\% - 36\%$ <br>
2-hop wireguard mode: $33\% - 67\%$
```
### Node Rewards within Same Layer