Skip to content

Commit

Permalink
fix: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler committed Sep 28, 2023
1 parent cb93af8 commit 59166db
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ available with Arweave and Bundlr.
## Overview

- **Runtime**: @kyvejs/tendermint-ssync

Check failure on line 12 in docs/validators/protocol_nodes/pools/archway_state-sync/introduction.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/validators/protocol_nodes/pools/archway_state-sync/introduction.md#L12

[Vale.Terms] Use 'Tendermint' instead of 'tendermint'.
Raw output
{"message": "[Vale.Terms] Use 'Tendermint' instead of 'tendermint'.", "location": {"path": "docs/validators/protocol_nodes/pools/archway_state-sync/introduction.md", "range": {"start": {"line": 12, "column": 24}}}, "severity": "ERROR"}
- **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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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`
are automatically, deleted, saving a lot of disk space. If you want to disable it add the flag `--pruning=false`
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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
Expand Down

0 comments on commit 59166db

Please sign in to comment.