Skip to content

Commit

Permalink
touches
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Dec 9, 2024
1 parent 7e815d6 commit c8dcd99
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions src/infrastructure-full-node-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@

This document describes how to set up a full Encointer node. A full node is a node that validates the entire blockchain history. Interacting with a full node you run yourself is the most secure and most privacy-preserving way to interact with the Encointer network.

## HW requirements
## Requirements

### HW Requirements

Full nodes can be run on very affordable HW. The minimum requirements are
* 1TB NVMe SSD.
* seq. write performance should be > 1000 MB/s. Consider that SSD's get slower the more full they get. Also, they wear out with intense usage)
* 16GB RAM (8GB currently works, but is not recommended)
* CPU won't matter much, but go for maximum single-core performance rather than many cores.

## OS requirements
### OS Requirements

In the following, we'll assume you're using ubuntu 22.04

## Internet Connection Requirements
### Internet Connection Requirements

If you run your node in a datacenter, you can skip this section. If you run consumer HW and "fair-use" internet connections like cellular, this is for you:

Expand All @@ -24,7 +26,7 @@ Once your chain is synced you should expect a constant data bandwidth in the ord

You should also check your networking latency with `ping telemetry.polkadot.io`. The result depends on your geographical location, obviously. If your ping time exceeds 500ms you may have networking issues. If you want to run a collator, latency is critical.

## Install dependencies
## Install Dependencies

The recommended way to setup a full node is to start with the [ansible setup](https://github.com/w3f/polkadot-validator-setup) provided
by w3f.
Expand All @@ -33,7 +35,7 @@ Should you wish to do it manually, we'll redirect you to the polkadot docs
* [run a validator](https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot)
* [secure validator](https://wiki.polkadot.network/docs/maintain-guides-secure-validator)

## systemd service
## Systemd Service

We assume you'd like to use your node for rpc queries from outside and monitor it with prometheus

Expand All @@ -48,15 +50,16 @@ User=encointer
Group=collators
ExecStart=/home/encointer/encointer-kusama/encointer-collator \
--rpc-cors all \
--name <a name that will appear in telemetry>> \
--telemetry-url 'wss://telemetry.polkadot.io/submit 1' \
--chain=encointer-kusama \
--base-path <your large volume> \
--database paritydb \
--state-pruning 100 \
--blocks-pruning 100 \
--chain=encointer-kusama \
--rpc-methods=Unsafe \
--name <a name that will appear in telemetry>> \
--telemetry-url 'wss://telemetry.polkadot.io/submit 1' \
--prometheus-external \
--rpc-cors all \
--rpc-methods=Unsafe \
--enable-offchain-indexing true \
-- \
--sync=warp \
Expand Down

0 comments on commit c8dcd99

Please sign in to comment.