Skip to content

Commit

Permalink
fix descriptions and quizzes
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-tortora committed Nov 21, 2024
1 parent 46adfab commit d8cbd2c
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 9 deletions.
6 changes: 4 additions & 2 deletions docs/content/operator/iota-full-node/docker.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
description: Operate an IOTA Full node to validate blockchain activities, like transactions, checkpoints, and epoch changes.
description: Learn how to set up an IOTA Full node using docker.
---
import Quiz from '@site/src/components/Quiz';
import questions from '/json/node-operators/iota-full-node.json';
import questions from '/json/node-operators/iota-full-node/node-setup.json';
import Docker from './../../../../docker/fullnode/README.md';
import WarningAdvanced from './../../_snippets/warning-advanced-instructions-node-setup.mdx'
import NodeHardwareRequirements from './../../_snippets/node-hardware-requirements.mdx'
Expand All @@ -14,3 +14,5 @@ import NodeHardwareRequirements from './../../_snippets/node-hardware-requiremen
<NodeHardwareRequirements/ >

<Docker />

<Quiz questions={questions} />
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
description: How to monitor and Prune your IOTA Full Node.
---
import Quiz from '@site/src/components/Quiz';
import questions from '/json/node-operators/pruning.json';

# Monitoring and Pruning

## Monitoring
Expand Down Expand Up @@ -72,3 +78,5 @@ authority-store-pruning-config:
# This helps reclaim disk space and avoid fragmentation issues
periodic-compaction-threshold-days: 1
```
<Quiz questions={questions} />
9 changes: 6 additions & 3 deletions docs/content/operator/iota-full-node/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
title: Overview
description: Operate an IOTA Full node to validate blockchain activities, like transactions, checkpoints, and epoch changes.
---

import Quiz from '@site/src/components/Quiz';
import questions from '/json/node-operators/iota-full-node.json';
import questions from '/json/node-operators/iota-full-node/overview.json';
import WarningAdvanced from './../../_snippets/warning-advanced-instructions-node-setup.mdx'

# Overview

<WarningAdvanced />

IOTA Full nodes validate blockchain activities, including transactions, checkpoints, and epoch changes. Each Full node stores and services the queries for the blockchain state and history.
Expand Down Expand Up @@ -43,4 +44,6 @@ Validator nodes store only the latest transactions on the frontier of the object

## Set Up a Full Node

You can set up your IOTA Full Node [using Docker](docker.mdx) or [build it from source](source.mdx).
You can set up your IOTA Full Node [using Docker](docker.mdx) or [build it from source](source.mdx).

<Quiz questions={questions} />
6 changes: 2 additions & 4 deletions docs/content/operator/iota-full-node/source.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
description: Operate an IOTA Full node to validate blockchain activities, like transactions, checkpoints, and epoch changes.
description: Learn how to set up an IOTA Full node from source.
title: Build From Source
---

import Quiz from '@site/src/components/Quiz';
import questions from '/json/node-operators/iota-full-node.json';
import questions from '/json/node-operators/iota-full-node/node-setup.json';
import WarningAdvanced from './../../_snippets/warning-advanced-instructions-node-setup.mdx'
import NodeHardwareRequirements from './../../_snippets/node-hardware-requirements.mdx'

Expand Down Expand Up @@ -224,5 +223,4 @@ Your Full node restarts on: http://127.0.0.1:9000.
If you prune transactions, Archival nodes can help ensure lagging peer nodes don't lose any information. For more information, see [IOTA Archives](../archives.mdx).

:::

<Quiz questions={questions} />
11 changes: 11 additions & 0 deletions docs/site/static/json/node-operators/iota-full-node/overview.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"questionText": "In the context of IOTA Full nodes, what is the significance of the 2f+1 validators during transaction processing?",
"answerOptions": [
{ "answerText": "They ensure that transactions are signed before being sent to the network.", "isCorrect": false },
{ "answerText": "They help in achieving consensus and finality for a transaction.", "isCorrect": true },
{ "answerText": "They manage the storage of blockchain data across nodes.", "isCorrect": false },
{ "answerText": "They are responsible for creating new epochs in the IOTA network.", "isCorrect": false }
]
}
]
11 changes: 11 additions & 0 deletions docs/site/static/json/node-operators/iota-full-node/pruning.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"questionText": "In the pruning configuration for an IOTA Full node, why would you set `num-epochs-to-retain` to 0?",
"answerOptions": [
{ "answerText": "To retain all object versions indefinitely.", "isCorrect": false },
{ "answerText": "To enable aggressive pruning of old object versions as soon as possible.", "isCorrect": true },
{ "answerText": "To keep only the latest transaction effects.", "isCorrect": false },
{ "answerText": "To disable pruning entirely.", "isCorrect": false }
]
}
]

0 comments on commit d8cbd2c

Please sign in to comment.