Skip to content

Commit

Permalink
[docs] minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed Aug 15, 2023
1 parent 3dfb7eb commit 5e7b04d
Show file tree
Hide file tree
Showing 38 changed files with 116 additions and 34 deletions.
1 change: 1 addition & 0 deletions docs/01-getting-started/installing-nethermind.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Installing Nethermind
sidebar_label: Installing Nethermind
sidebar_position: 0
---

import Tabs from "@theme/Tabs";
Expand Down
4 changes: 4 additions & 0 deletions docs/01-getting-started/manage-nethermind-with-systemd.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 5
---

# Manage Nethermind with systemd

### Create a new user
Expand Down
12 changes: 8 additions & 4 deletions docs/01-getting-started/migrating-from-geth.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 4
---

# Migrating From Geth

To migrate from Geth to Nethermind there are few conditions which should be met to ensure seamless and quick transition.
Expand Down Expand Up @@ -32,7 +36,7 @@ to [#option-1b-use-sedge-to-install-nethermind-next-to-geth-quickly](migrating-f
#### Step 2 - Run secondary CL client for Nethermind syncing purpose only

Please refer to
a [#step-2-installing-consensus-client](../02-fundamentals/running-nethermind-post-merge.md#step-2-installing-consensus-client)
a [#step-2-installing-consensus-client](../02-fundamentals/10-running-nethermind-post-merge.md#step-2-installing-consensus-client)
to install secondary CL client beacon node which will be used only for Nethermind syncing purpose.\
Once it is installed ensure it is not colliding with primary CL currently used by Geth.

Expand All @@ -52,7 +56,7 @@ NETHERMIND\_ENGINE\_PORT should be changed to value selected in next step (prefe

#### Step 3 - Run Nethermind and wait for Sync

Please refer to a [#step-4-run-nethermind](../02-fundamentals/running-nethermind-post-merge.md#step-4-run-nethermind)for
Please refer to a [#step-4-run-nethermind](../02-fundamentals/10-running-nethermind-post-merge.md#step-4-run-nethermind)for
instruction on how to run Nethermind.

:::caution
Expand Down Expand Up @@ -161,7 +165,7 @@ it may cause some unexpected problems during procedure of syncing Nethermind.
#### Step 2 - Download Nethermind latest release

Please refer to
a [#step-1-installing-nethermind](../02-fundamentals/running-nethermind-post-merge.md#step-1-installing-nethermind) to see
a [#step-1-installing-nethermind](../02-fundamentals/10-running-nethermind-post-merge.md#step-1-installing-nethermind) to see
available options or use [**Sedge** ](https://docs.sedge.nethermind.io/) which is a one-click setup tool for running
node
developed by Nethermind Team.
Expand All @@ -176,7 +180,7 @@ to Nethermind jwtsecret or point Nethermind to that jwtsecret using command:\
Nethermind will generate jwtsecret in `keystore` directory and if not specified, it will use this secret.

After reconfiguring CL, run Nethermind an monitor it. Please refer to
a [#step-4-run-nethermind](../02-fundamentals/running-nethermind-post-merge.md#step-5-run-nethermind)for instruction on how to
a [#step-4-run-nethermind](../02-fundamentals/10-running-nethermind-post-merge.md#step-5-run-nethermind)for instruction on how to
run Nethermind.

Now Nethermind node should be syncing well using CL reconfigured on machine. To monitor status of syncing there is a
Expand Down
1 change: 1 addition & 0 deletions docs/01-getting-started/networks.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
description: Networks currently supported by Nethermind Client
sidebar_position: 3
---

# Networks
Expand Down
1 change: 1 addition & 0 deletions docs/01-getting-started/system-requirements.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
description: Run Nethermind on a platform of your choice
sidebar_position: 2
---

# System Requirements
Expand Down
8 changes: 8 additions & 0 deletions docs/02-fundamentals/01-running-nethermind/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"position": 1,
"label": "Running Nethermind",
"collapsible": true,
"link": {
"type": "generated-index"
}
}
8 changes: 8 additions & 0 deletions docs/02-fundamentals/04-configuration/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"position": 4,
"label": "Configuration",
"collapsible": true,
"link": {
"type": "generated-index"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"position": 8,
"label": "Contact Us",
"position": 6,
"label": "Logs",
"collapsible": true,
"link": {
"type": "generated-index"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"position": 8,
"label": "How to reduce the size of the database",
"collapsible": true,
"link": {
"type": "generated-index"
}
}
11 changes: 11 additions & 0 deletions docs/02-fundamentals/09-private-networks/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"position": 2,
"label": "Fundamentals",
"collapsible": true,
"link": {
"type": "generated-index"
},
"customProps": {
"description": "General overview and introduction of Nethermind Execution Client"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# admin
# Admin

## admin_addPeer

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# clique
# Clique

## clique_discard

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# debug
# Debug

## debug_deleteChainSlice

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 0
---

import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

Expand Down
2 changes: 1 addition & 1 deletion docs/03-interacting-with-nethermind/02-json-rpc-api/eth.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# eth
# Eth

## eth_blockNumber

Expand Down
2 changes: 1 addition & 1 deletion docs/03-interacting-with-nethermind/02-json-rpc-api/evm.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# evm
# Evm

## evm_mine

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# net
# Net

## net_listening

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# parity
# Parity

## parity_clearEngineSigner

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# personal
# Personal

## personal_importRawKey
| Invocation |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# proof
# Proof

## proof_getTransactionByHash

Expand Down
2 changes: 1 addition & 1 deletion docs/03-interacting-with-nethermind/02-json-rpc-api/rpc.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rpc
# RPC

## rpc_modules

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# trace
# Trace

## trace_block

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# txpool
# Txpool

## txpool_content

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# web3
# Web3

## web3_clientVersion

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# witness
# Witness

## witness_witnesses

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
description: >-
Recipe for a fast and easy terraform deployment of Nethermind Client and
Monitoring stack (Grafana/Prometheus/Seq)
sidebar_label: Deploy Nethermind with Monitoring stack
sidebar_position: 2
---

# Deploy Nethermind with Monitoring stack
Expand Down Expand Up @@ -115,11 +114,11 @@ You can now provide some basic configuration to your VM/Nethermind Node

![](</img/image(55).png>)

A list of available `configs` can be found [here](../../01-getting-started/networks.md)
A list of available `configs` can be found [here](../01-getting-started/networks.md)

:::caution
:fire\_extinguisher: If you chose to enable JsonRpc (it will run on port `8545` by default) make sure that you set
up [Firewall rules](../firewall-configuration.md) either in DigitalOcean or by using Linux `iptables`
up [Firewall rules](../07-resources/firewall-configuration.md) either in DigitalOcean or by using Linux `iptables`
:::

Let's apply our plan and start deploying whole stack (it should take no longer than 3 minutes)
Expand Down Expand Up @@ -162,7 +161,7 @@ Explore Nethermind metrics, visualize and analyse using prometheus syntax, a lis
descriptions can be found here:

{% content-ref url="../ethereum-client/metrics/" %}
[metrics](../../04-monitoring/metrics-explanation/README.md)
[metrics](metrics-explanation/README.md)
{% endcontent-ref %}

![](</img/image(51).png>)
Expand Down
11 changes: 11 additions & 0 deletions docs/04-monitoring/metrics-explanation/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"position": 0,
"label": "Metrics",
"collapsible": true,
"link": {
"type": "generated-index"
},
"customProps": {
"description": "General overview and introduction of Nethermind Execution Client"
}
}
7 changes: 6 additions & 1 deletion docs/04-monitoring/monitoring-node-health.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
sidebar_position: 1
sidebar_label: Monitoring Node's Health
---

import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

Expand Down Expand Up @@ -98,7 +103,7 @@ When it becomes **Healthy** (**synced** and with **peers**) you should receive:

This check verifies if the client receives messages from the CL. If you see this warning in your logs, it means that
there is something wrong with CL<->Nethermind communication. Check more about setting up Nethermind and
CL [here](../02-fundamentals/running-nethermind-post-merge.md).
CL [here](../02-fundamentals/10-running-nethermind-post-merge.md).

```
No incoming messages from Consensus Client. Consensus Client is required to sync the node. Please make sure that it's working properly.
Expand Down
3 changes: 0 additions & 3 deletions docs/06-nethermind-utilities/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@
"collapsible": true,
"link": {
"type": "generated-index"
},
"customProps": {
"description": "General overview and introduction of Nethermind Execution Client"
}
}
4 changes: 4 additions & 0 deletions docs/07-resources/connecting-wallet.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 1
---

# Connecting Wallet

You can connect to the node from [Metamask](https://metamask.io/) by selecting `localhost:8545` from the Metamask network list.
Expand Down
5 changes: 5 additions & 0 deletions docs/07-resources/faq.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
sidebar_position: 0
sidebar_label: Frequently Asked Questions
---

# FAQ

## How do I upgrade my node?
Expand Down
1 change: 1 addition & 0 deletions docs/07-resources/firewall-configuration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
description: Rules that should be added to your machine's firewall
sidebar_position: 2
---

# Firewall Configuration
Expand Down
8 changes: 8 additions & 0 deletions docs/07-resources/guides-and-helpers/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"position": 0,
"label": "Guides and Helpers",
"collapsible": true,
"link": {
"type": "generated-index"
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
description: How to run Nethermind as your ETH1 endpoint for ETH2 clients
sidebar_label: Eth2 <-> Nethermind
---

# ETH2 &lt;-&gt; Nethermind
# ETH2 <-> Nethermind

## Nethermind client as ETH1 endpoint

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Run the following command to install Nethermind:
sudo add-apt-repository ppa:nethermindeth/nethermind; sudo apt install nethermind
```

See [here](../../../02-fundamentals/running-nethermind-post-merge.md) for docs for
See [here](../../../02-fundamentals/10-running-nethermind-post-merge.md) for docs for
other ways to install Nethermind.

#### **Installing Consensus Client**
Expand Down Expand Up @@ -140,7 +140,7 @@ sudo chown -R nethermindeth:nethermindeth /usr/share/nethermind

Create a JWT Token which will be used to communicate between consensus and execution clients. For more information about
JWT Token please refer
to [this section](../../../02-fundamentals/running-nethermind-post-merge.md#step-3--configure-json-rpc-api).
to [this section](../../../02-fundamentals/10-running-nethermind-post-merge.md#step-3--configure-json-rpc-api).

```bash
openssl rand -hex 32 | tr -d "\n" > "/var/lib/nethermind/jwt-secret"
Expand Down
1 change: 1 addition & 0 deletions docs/07-resources/know-issues.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
description: There are several known issues with the current version of Nethermind
sidebar_position: 3
---

# Known Issues
Expand Down
1 change: 1 addition & 0 deletions docs/08-contact/README.md → docs/Contact.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
sidebar_label: 'Contact Us'
sidebar_position: 8
---

# Contact us
Expand Down

0 comments on commit 5e7b04d

Please sign in to comment.