From 59166dbca101bd78a27307e24ae9a529294c3ec0 Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Thu, 28 Sep 2023 11:53:03 +0200 Subject: [PATCH] fix: small fixes --- .../pools/archway_state-sync/introduction.md | 5 ++--- .../protocol_nodes/pools/archway_state-sync/run_ksync.md | 9 +++++---- .../pools/archway_state-sync/run_protocol_node.md | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/validators/protocol_nodes/pools/archway_state-sync/introduction.md b/docs/validators/protocol_nodes/pools/archway_state-sync/introduction.md index 59125a0..c036b5f 100644 --- a/docs/validators/protocol_nodes/pools/archway_state-sync/introduction.md +++ b/docs/validators/protocol_nodes/pools/archway_state-sync/introduction.md @@ -10,13 +10,12 @@ available with Arweave and Bundlr. ## Overview - **Runtime**: @kyvejs/tendermint-ssync -- **Data Source**: Self hosted KSYNC/Archway node -- **Data**: Snapshot every 3,000 blocks from Genesis ongoing +- **Data Source**: KSYNC (over serve-snapshots) +- **Data**: state-sync snapshots every 3,000 blocks from genesis ongoing - **Storage Provider**: Bundlr - **Networks** - [Mainnet](https://app.kyve.network/#/pools/4) (Pool Id: 4) - [Kaon](https://app.kaon.kyve.network/#/pools/4) (Pool Id: 4) - - [Korellia](https://app.korellia.kyve.network/#/pools/34) (Pool Id: 34) - **Min Hardware Requirements** - 4 or more physical CPU cores - 32 GB RAM diff --git a/docs/validators/protocol_nodes/pools/archway_state-sync/run_ksync.md b/docs/validators/protocol_nodes/pools/archway_state-sync/run_ksync.md index ce833f8..1ae09f9 100644 --- a/docs/validators/protocol_nodes/pools/archway_state-sync/run_ksync.md +++ b/docs/validators/protocol_nodes/pools/archway_state-sync/run_ksync.md @@ -8,8 +8,9 @@ KSYNC will provide the snapshot of an Archway Node, which will act as the source ## Install Archway node -The Archway binary with the version `v1.0.0` has to be installed. You can -- follow the official installation instructions [here](https://docs.archway.io/validators/running-a-node/join-a-network/sync-from-genesis) or +The Archway binary with the version `v1.0.0` has to be installed. You can + +- follow the official installation instructions [here](https://docs.archway.io/validators/running-a-node/join-a-network/sync-from-genesis) or - download the binary directly from [here](https://github.com/archway-network/archway/releases/tag/v1.0.0). You can verify the successful installation with @@ -71,7 +72,7 @@ once created they are exposed over a REST API server which the protocol node can To start with default settings serve the snapshots with: ```bash -ksync serve-snapshots --binary="/path/to/archwayd" --home="/path/to/.archway" --snapshot-pool-id=4--block-pool-id=2 +ksync serve-snapshots --binary="/path/to/archwayd" --home="/path/to/.archway" --snapshot-pool-id=4 --block-pool-id=2 ``` Once you see that KSYNC is syncing blocks you can open `https://localhost:7878/list_snapshots`. In the beginning it should @@ -94,4 +95,4 @@ Furthermore, can you change the port of the metrics server by adding the flag `- ### Manage pruning By default, pruning is enabled. That means that all blocks, states and snapshots prior to the snapshot pool height -are automatically, deleted, saving a lot of disk space. If you want to disable it add the flag `--pruning=false` \ No newline at end of file +are automatically, deleted, saving a lot of disk space. If you want to disable it add the flag `--pruning=false` diff --git a/docs/validators/protocol_nodes/pools/archway_state-sync/run_protocol_node.md b/docs/validators/protocol_nodes/pools/archway_state-sync/run_protocol_node.md index 7df2542..a699920 100644 --- a/docs/validators/protocol_nodes/pools/archway_state-sync/run_protocol_node.md +++ b/docs/validators/protocol_nodes/pools/archway_state-sync/run_protocol_node.md @@ -66,7 +66,7 @@ If you want to start the nodes as a background process you can use `systemd`. For the daemon service root-privileges are required during the setup. Create a service file. $USER is the Linux user which runs the process. Replace it before you copy the command. -Since the KYSOR can run on multiple pools on one machine we would recommend naming the daemon service after the valaccount name and with a `d` appending to it. With that you can create multiple service files and control each of them. This example shows the service file for our valaccount `archway` +Since the KYSOR can run on multiple pools on one machine we would recommend naming the daemon service after the valaccount name and with a `d` appending to it. With that you can create multiple service files and control each of them. This example shows the service file for our valaccount `archway-ssync` :::info You might have to execute this command with `sudo` @@ -80,7 +80,7 @@ After=network-online.target [Service] User=$USER -ExecStart=/home/$USER/kysor start --valaccount archway +ExecStart=/home/$USER/kysor start --valaccount archway-ssync Restart=on-failure RestartSec=3 LimitNOFILE=infinity