Skip to content

Commit 3f9a99a

Browse files
authored
Merge pull request #485 from input-output-hk/jpraynaud/enhance-documentation-prerequisites
Enhance documentation + Add dev blog in website
2 parents 2610971 + bf2e12d commit 3f9a99a

File tree

20 files changed

+521
-433
lines changed

20 files changed

+521
-433
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Should you have any questions or need some help in getting set up, you can use
1515
these communication channels to reach the Mithril team and get answers in a way
1616
where others can benefit from it as well:
1717

18-
- #moria on the IOG [Discord server](https://discord.gg/beku2fg4)
18+
- #moria on the IOG [Discord server](https://discord.gg/5kaErDKDRq)
1919
- Github [Discussions](https://github.com/input-output-hk/mithril/discussions)
2020
- Cardano [StackExchange](https://cardano.stackexchange.com/) using the `mithril` tag
2121

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The best way to contribute right now is to provide feedback. Start by giving a l
7474

7575
Should you have any questions, ideas or issues, we would like to hear from you:
7676

77-
* #moria on the IOG [Discord server](https://discord.gg/beku2fg4)
77+
* #moria on the IOG [Discord server](https://discord.gg/5kaErDKDRq)
7878
* Create a Github [Discussion](https://github.com/input-output-hk/mithril/discussions)
7979
* Create a Github [Issue](https://github.com/input-output-hk/mithril/issues/new)
8080
* Ask on Cardano [StackExchange](https://cardano.stackexchange.com/questions/tagged/mithril) using the `mithril` tag

demo/protocol-demo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This cli implements a very simple version of the Mithril protocol for demonstrat
1010

1111
**Install Rust**
1212

13-
- Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (version 1.62.0+).
13+
- Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (latest stable version).
1414

1515
## Download source code
1616

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Genesis Certificate support added
3+
authors:
4+
- name: Mithril Team
5+
tags: [genesis, breaking-change]
6+
---
7+
### This afternoon, we plan to merge the PR that activates the Genesis Certificate feature on the GCP Mithril Aggregator
8+
9+
**PR**: `Implement Real Genesis Certificate` [#438](https://github.com/input-output-hk/mithril/pull/438)
10+
11+
**Issue**: `Bootstrap Certificate Chain w/ Genesis Certificate` [#364](https://github.com/input-output-hk/mithril/issues/364)
12+
13+
This will involve some manual operations that will prevent temporarily the service to be running:
14+
15+
* We will have to reset the stores of the `Snapshots` and `Certificates`. This means that the [Mithril Explorer](https://mithril.network/explorer/) will display a `No snapshot available` message.
16+
17+
* The Mithril Signers will have to wait until the next epoch `#30` to be able to sign. This means that we should see the first available `Snapshot` 1 hour after the epoch transition.
18+
19+
The SPOs that are currently running a Mithril Signer will have to recompile their node in order ot take advantage of the latest improvements (such as the registration of the nodes that will take few minutes instead of few hours). However, the previously compiled node will be able to contribute to signatures.
20+
21+
In order to restore a Mithril Snapshot, a Mithril Client will now need access to the `Genesis Verification Key` by adding an environment variable when running: `GENESIS_VERIFICATION_KEY=$(wget -q -O - https://raw.githubusercontent.com/input-output-hk/mithril/main/TEST_ONLY_genesis.vkey)`.
22+
23+
Feel free to reach out to us on the [Discord channel](https://discord.gg/5kaErDKDRq) for questions and/or help.

docs/docusaurus.config.js

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ const config = {
3636
editUrl: 'https://github.com/input-output-hk/mithril/edit/main/docs',
3737
},
3838
blog: {
39-
path: 'adr',
40-
routeBasePath: 'adr/',
41-
blogTitle: "ADR",
42-
blogSidebarTitle: "ADR",
43-
sortPosts: 'ascending',
39+
path: 'blog/',
40+
routeBasePath: 'dev-blog',
41+
blogTitle: "Dev Blog",
42+
blogSidebarTitle: "Dev blog",
43+
sortPosts: 'descending',
4444
showReadingTime: true,
4545
},
4646
theme: {
@@ -68,6 +68,20 @@ const config = {
6868
],
6969
],
7070

71+
plugins: [
72+
[
73+
'@docusaurus/plugin-content-blog',
74+
{
75+
id: 'adr_blog',
76+
path: 'adr',
77+
routeBasePath: 'adr/',
78+
blogTitle: "ADR",
79+
blogSidebarTitle: "ADR",
80+
sortPosts: 'descending',
81+
}
82+
]
83+
],
84+
7185
themeConfig:
7286
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
7387
({
@@ -109,6 +123,7 @@ const config = {
109123
label: 'Glossary',
110124
position: 'right',
111125
},
126+
{ to: '/dev-blog', label: 'Dev Blog', position: 'right' },
112127
{ to: '/adr', label: 'ADRs', position: 'right' },
113128
{
114129
className: 'header-github-link',
@@ -142,7 +157,7 @@ const config = {
142157
items: [
143158
{
144159
label: 'Discord (#moria)',
145-
href: 'https://discord.gg/beku2fg4',
160+
href: 'https://discord.gg/5kaErDKDRq',
146161
},
147162
{
148163
label: 'Github Discussions',

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"write-heading-ids": "docusaurus write-heading-ids"
1515
},
1616
"dependencies": {
17-
"@docusaurus/core": "^2.0.1",
18-
"@docusaurus/preset-classic": "^2.0.1",
17+
"@docusaurus/core": "^2.1.0",
18+
"@docusaurus/preset-classic": "^2.1.0",
1919
"@mdx-js/react": "^1.6.22",
2020
"clsx": "^1.1.1",
2121
"react": "^17.0.2",

docs/root/manual/developer-docs/nodes/mithril-aggregator.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ This is the node of the **Mithril Network** responsible for collecting individua
2626

2727
## Pre-requisites
2828

29-
* Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (version 1.62.0+).
29+
* Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (latest stable version)
30+
3031
* Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
3132

3233
## Download source

docs/root/manual/developer-docs/nodes/mithril-client.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ This is the node of the **Mithril Network** responsible for restoring the **Card
2828

2929
## Pre-requisites
3030

31-
* Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (version 1.62.0+).
31+
* Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (latest stable version)
32+
33+
* Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
3234

3335
## Download source
3436

@@ -139,6 +141,16 @@ NETWORK=testnet AGGREGATOR_ENDPOINT=https://aggregator.api.mithril.network/aggre
139141

140142
:::tip
141143

144+
You can use the `--json` option in order to display results in `JSON` format for the `list` and `show` commands:
145+
146+
```bash
147+
./mithril-client list --json
148+
```
149+
150+
:::
151+
152+
:::tip
153+
142154
If you want to dig deeper, you can get access to several level of logs from the Mithril Client:
143155

144156
* Add `-v` for some logs (WARN)

docs/root/manual/developer-docs/nodes/mithril-signer.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ This is the node of the **Mithril Network** responsible for producing individual
2828

2929
## Pre-requisites
3030

31-
* Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (version 1.62.0+).
31+
* Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (latest stable version)
32+
33+
* Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
3234

3335
## Download source
3436

docs/root/manual/getting-started/bootstrap-cardano-node.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ In this documentation, we use the generic `testnet` identifier, but you need to
2222

2323
:::
2424

25+
## Pre-requisites
26+
27+
* Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (latest stable version).
28+
29+
* Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
30+
2531
## Download source
2632

2733
Download from Github (HTTPS)
@@ -89,6 +95,16 @@ SUBCOMMANDS:
8995

9096
:::tip
9197

98+
You can use the `--json` option in order to display results in `JSON` format for the `list` and `show` commands:
99+
100+
```bash
101+
./mithril-client list --json
102+
```
103+
104+
:::
105+
106+
:::tip
107+
92108
If you want to dig deeper, you can get access to several level of logs from the Mithril Client:
93109

94110
* Add `-v` for some logs (WARN)

docs/root/manual/getting-started/run-mithril-devnet.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ More information about this private Cardano/Mithril `devnet` is available [here]
2929

3030
:::
3131

32+
## Pre-requisites
33+
34+
* Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (latest stable version).
35+
36+
* Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
37+
3238
## Download source
3339

3440
Download from Github (HTTPS)

docs/root/manual/getting-started/run-signer-node.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ For more information about the **Mithril Protocol**, please refer to the [About
3434

3535
:::
3636

37+
## Pre-requisites
38+
3739
## What you'll need
3840

3941
* Operating a **Cardano Node** as a **Stake Pool**:
@@ -43,7 +45,11 @@ For more information about the **Mithril Protocol**, please refer to the [About
4345
* Read rights on the `Database` folder (`--database-path` setting of the **Cardano Node**)
4446
* Read/Write rights on the `Inter Process Communication` file (usually `CARDANO_NODE_SOCKET_PATH` env var used to launch the **Cardano Node**)
4547

46-
* An installed recent version of the [`cardano-cli`](https://hydra.iohk.io/job/Cardano/cardano-node/linux.native.cardano-cli)
48+
* Install a recent version of the [`cardano-cli`](https://hydra.iohk.io/job/Cardano/cardano-node/linux.native.cardano-cli) (version 1.35.3+)
49+
50+
* Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (latest stable version).
51+
52+
* Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
4753

4854
:::danger
4955

docs/root/manual/welcome.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ For more information about the **Mithril Protocol**, please refer to the [About
3535

3636
* A Linux (preferred) or a macOS computer.
3737

38-
* A [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (version 1.62.0+).
38+
* A [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (latest stable version).
3939

4040
* A recent version of [Docker Engine](https://docs.docker.com/engine/install/).
4141

docs/root/mithril/mithril-protocol/simulation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sidebar_label: Simulation
2121

2222
* A Linux (preferred) or a macOS computer.
2323

24-
* A [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (version 1.62.0+).
24+
* A [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (latest stable version).
2525

2626
## Download source
2727

0 commit comments

Comments
 (0)